Function at 0x46a9c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4af9fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x68], 0
test eax, eax
jne 0x46aa02
mov dword [ebp - 0x5c], 0x49ccd4
mov eax, dword [ebp - 0x5c]
jmp 0x46aa0e
cmp word [eax], 0x21
jne 0x46aa0e
add eax, 2
mov dword [ebp - 0x5c], eax
movzx ebx, word [eax]
test bx, bx
je 0x46acbb
lea ebx, [ebx]
push 8
push ebx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46aa60
movzx edx, word [edi]
push 8
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46ac9a
movzx eax, word [edi + 2]
add edi, 2
push 8
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46aa45
jmp 0x46ac97
cmp bx, 0x25
jne 0x46b55e
mov ecx, dword [ebp - 0x5c]
cmp word [ecx + 2], 0
je 0x46b55e
mov dword [ebp - 0x68], 0
nop
movzx edx, word [edi]
push 8
push edx
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46aaa4
movzx ecx, byte [edi]
push 0x10
push ecx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46aaa9
add edi, 2
jmp 0x46aa80
mov ebx, dword [ebp - 0x5c]
movzx eax, word [ebx + 2]
add ebx, 2
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x5c], ebx
cmp eax, 0x45
je 0x46aac3
cmp eax, 0x4f
jne 0x46aacd
movzx eax, word [ebx + 2]
add ebx, 2
mov dword [ebp - 0x5c], ebx
movzx ecx, ax
cmp ecx, 0x79
ja case.default.0x46aae7
lea esp, [esp]
movzx edx, byte [ecx + 0x46b840]
jmp dword [edx*4 + 0x46b7dc]
movzx eax, word [edi]
push 0x10
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46ab1c
cmp word [edi], 0
je 0x46ab1c
movzx ecx, word [edi + 2]
add edi, 2
push 0x10
push ecx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46ab00
movzx edx, word [edi]
push 0x10
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46ab46
mov edi, edi
movzx eax, word [edi + 2]
add edi, 2
push 0x10
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46ab30
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
cmp ecx, 0x79
jbe 0x46aae0
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x5c], ebx
cmp word [edi], 0x25
je 0x46ab6c
add edi, 2
cmp word [edi], ax
jne 0x46b64b
add edi, 2
jmp 0x46ac97
cmp word [edi], 0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
jne 0x46ab8c
mov dword [esi + 0x18], 0
jmp 0x46ac9a
mov ecx, dword [ebp - 0x60]
push 7
add ecx, 0xd4
push ecx
lea ebx, [ebp - 0x54]
call fcn.0046a890
add esp, 8
test eax, eax
js 0x46abaa
mov dword [esi + 0x18], eax
mov edi, dword [ebp - 0x54]
jmp 0x46ac9a
cmp word [edi], 0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
jne 0x46abca
mov dword [esi + 0x18], 0
jmp 0x46ac9a
mov edx, dword [ebp - 0x60]
push 7
add edx, 0xb8
push edx
jmp 0x46ab98
cmp word [edi], 0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
jne 0x46abf0
mov dword [esi + 0x10], 0
jmp 0x46ac9a
mov eax, dword [ebp - 0x60]
push 0xc
add eax, 0x120
push eax
lea ebx, [ebp - 0x54]
call fcn.0046a890
add esp, 8
test eax, eax
js 0x46b64b
mov edi, dword [ebp - 0x54]
mov dword [esi + 0x10], eax
jmp 0x46ac9a
cmp word [edi], 0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
jne 0x46ac2e
mov dword [esi + 0x10], 0
jmp 0x46ac9a
mov ecx, dword [ebp - 0x60]
push 0xc
add ecx, 0xf0
push ecx
jmp 0x46abfb
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46ac53
mov dword [esi + 0xc], 1
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46ac78
movzx edx, word [edi + 2]
add edi, 2
push 4
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46ac62
push 0xa
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00476c44
mov ecx, dword [ebp - 0x58]
add esp, 0xc
cmp ecx, edi
je 0x46b64b
mov dword [esi + 0xc], eax
mov edi, ecx
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x5c]
movzx ebx, word [eax + 2]
add eax, 2
mov dword [ebp - 0x5c], eax
test bx, bx
jne 0x46aa20
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x46b7c8
movzx eax, byte [edi]
push 8
push eax
call fcn.004723de
add esp, 8
test eax, eax
je 0x46ace6
lea ecx, [ecx]
movzx edx, byte [edi + 2]
add edi, 2
push 8
push edx
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46acd0
mov ebx, 0xc
cmp dword [esi + 8], ebx
jg 0x46b7c6
movzx eax, word [edi]
cmp eax, 0x50
je 0x46ad05
cmp eax, 0x70
jne 0x46b768
movzx eax, word [edi + 2]
cmp eax, 0x4d
je 0x46ad17
cmp eax, 0x6d
jne 0x46b768
movzx eax, word [edi + 4]
push 0x103
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b768
add dword [esi + 8], ebx
jmp 0x46b799
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46ad53
mov dword [esi + 8], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46ad78
movzx ecx, word [edi + 2]
add edi, 2
push 4
push ecx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46ad62
push 0xa
lea edx, [ebp - 0x58]
push edx
push edi
call fcn.00476c44
mov edx, dword [ebp - 0x58]
add esp, 0xc
cmp edx, edi
je 0x46b64b
mov ecx, edx
sub ecx, edi
sar ecx, 1
cmp ecx, 2
jle 0x46adc7
xor eax, eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
add ecx, ecx
sub edx, ecx
mov edx, dword [edx]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], edx
call fcn.00476c44
lea edx, [edi + 4]
add esp, 0xc
mov dword [ebp - 0x58], edx
mov dword [esi + 8], eax
mov edi, edx
jmp 0x46ac97
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46adeb
mov dword [esi + 8], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46ae16
lea ebx, [ebx]
movzx edx, word [edi + 2]
add edi, 2
push 4
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46ae00
push 0xa
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00476c44
mov edx, dword [ebp - 0x58]
add esp, 0xc
cmp edx, edi
je 0x46b64b
mov ecx, edx
sub ecx, edi
sar ecx, 1
cmp ecx, 2
jle 0x46adc7
xor eax, eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1e], eax
add ecx, ecx
sub edx, ecx
mov edx, dword [edx]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], edx
call fcn.00476c44
lea edx, [edi + 4]
add esp, 0xc
mov dword [ebp - 0x58], edx
mov dword [esi + 8], eax
mov edi, edx
jmp 0x46ac97
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46ae89
mov dword [esi + 0x1c], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46aeb6
jmp 0x46aea0
movzx edx, word [edi + 2]
add edi, 2
push 4
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46aea0
push 0xa
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00476c44
mov ecx, dword [ebp - 0x58]
add esp, 0xc
cmp ecx, edi
je 0x46b64b
dec eax
mov dword [esi + 0x1c], eax
jmp 0x46ac95
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46aef3
mov dword [esi + 0x10], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46af18
movzx ecx, word [edi + 2]
add edi, 2
push 4
push ecx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46af02
push 0xa
lea edx, [ebp - 0x58]
push edx
push edi
call fcn.00476c44
mov edx, dword [ebp - 0x58]
add esp, 0xc
cmp edx, edi
je 0x46b64b
mov ecx, edx
sub ecx, edi
sar ecx, 1
cmp ecx, 2
jle 0x46af67
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x26], eax
add ecx, ecx
sub edx, ecx
mov edx, dword [edx]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], edx
call fcn.00476c44
lea edx, [edi + 4]
add esp, 0xc
mov dword [ebp - 0x58], edx
dec eax
mov dword [esi + 0x10], eax
mov edi, edx
jmp 0x46ac97
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46af8c
mov dword [esi + 4], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46afb6
jmp 0x46afa0
movzx edx, word [edi + 2]
add edi, 2
push 4
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46afa0
push 0xa
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00476c44
mov edx, dword [ebp - 0x58]
add esp, 0xc
cmp edx, edi
je 0x46b64b
mov ecx, edx
sub ecx, edi
sar ecx, 1
cmp ecx, 2
jle 0x46b005
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x2e], eax
add ecx, ecx
sub edx, ecx
mov edx, dword [edx]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], edx
call fcn.00476c44
lea edx, [edi + 4]
add esp, 0xc
mov dword [ebp - 0x58], edx
mov dword [esi + 4], eax
mov edi, edx
jmp 0x46ac97
cmp word [edi], 0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
je 0x46ac9a
mov edx, dword [ebp - 0x60]
add edx, 0x150
push 2
push edx
lea ebx, [ebp - 0x54]
call fcn.0046a890
add esp, 8
test eax, eax
js 0x46b64b
je 0x46abaa
add dword [esi + 8], 0xc
mov edi, dword [ebp - 0x54]
jmp 0x46ac9a
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46b069
mov dword [esi], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b096
jmp 0x46b080
movzx eax, word [edi + 2]
add edi, 2
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b080
push 0xa
lea ecx, [ebp - 0x58]
push ecx
push edi
call fcn.00476c44
mov ecx, dword [ebp - 0x58]
add esp, 0xc
cmp ecx, edi
je 0x46b64b
mov dword [esi], eax
jmp 0x46ac95
mov edx, dword [ebp - 0x60]
push edx
push esi
push str._H:_M:_S
push edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
call fcn.0046a9c0
add esp, 0x10
mov dword [ebp - 0x58], eax
test eax, eax
je 0x46b64b
mov edi, eax
jmp 0x46ac97
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46b0fc
mov dword [esi + 0x18], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b126
jmp 0x46b110
movzx eax, word [edi + 2]
add edi, 2
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b110
push 0xa
lea ecx, [ebp - 0x58]
push ecx
push edi
call fcn.00476c44
mov ecx, dword [ebp - 0x58]
add esp, 0xc
cmp ecx, edi
je 0x46b64b
mov dword [esi + 0x18], eax
jmp 0x46ac95
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
je 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b186
lea esp, [esp]
movzx edx, word [edi + 2]
add edi, 2
push 4
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b170
push 0xa
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00476c44
mov esi, dword [ebp - 0x58]
add esp, 0xc
mov ebx, eax
cmp esi, edi
je 0x46b64b
mov edi, dword [ebp - 0x64]
mov ecx, dword [edi + 0x14]
add ecx, 0x76c
call fcn.0046a8f0
lea ecx, [ebx*8]
sub ecx, ebx
sub ecx, eax
add ecx, dword [edi + 0x18]
mov dword [edi + 0x1c], ecx
jns 0x46b1d0
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
mov edi, esi
mov esi, dword [ebp - 0x64]
jmp 0x46ac97
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
je 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b216
jmp 0x46b200
movzx eax, word [edi + 2]
add edi, 2
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b200
push 0xa
lea ecx, [ebp - 0x58]
push ecx
push edi
call fcn.00476c44
mov ebx, dword [ebp - 0x58]
add esp, 0xc
cmp ebx, edi
je 0x46b64b
mov esi, dword [ebp - 0x64]
mov edi, eax
call fcn.0046a960
mov edi, ebx
jmp 0x46ac97
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x60]
mov edx, dword [ebx + 0x158]
push 0x49cd0c
push edx
mov dword [ebp - 0x54], edi
call fcn.00476c5e
add esp, 8
test eax, eax
je 0x46b27a
mov eax, dword [ebx + 0x158]
cmp word [eax], 0x79
mov eax, 0x49ccd4
je 0x46b290
mov eax, str._m__d__Y__H:_M:_S
jmp 0x46b290
mov ecx, dword [ebx + 0x158]
cmp word [ecx], 0x79
mov eax, str._y__m__d__H:_M:_S
je 0x46b290
mov eax, str._m__d__y__H:_M:_S
push ebx
push esi
push eax
push edi
call fcn.0046a9c0
add esp, 0x10
mov dword [ebp - 0x58], eax
test eax, eax
je 0x46b64b
mov edi, eax
jmp 0x46ac97
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x60]
mov edx, dword [ebx + 0x158]
push 0x49cd0c
push edx
mov dword [ebp - 0x54], edi
call fcn.00476c5e
add esp, 8
test eax, eax
je 0x46b2e7
mov eax, dword [ebx + 0x158]
cmp word [eax], 0x79
mov eax, str._Y__m__d
je 0x46b290
mov eax, str._m__d__Y
jmp 0x46b290
mov ecx, dword [ebx + 0x158]
cmp word [ecx], 0x79
mov eax, str._y__m__d
je 0x46b290
mov eax, str._m__d__y
jmp 0x46b290
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46b319
mov dword [esi + 0x14], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b346
jmp 0x46b330
movzx edx, word [edi + 2]
add edi, 2
push 4
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b330
push 0xa
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00476c44
mov ecx, dword [ebp - 0x58]
add esp, 0xc
mov ebx, eax
cmp ecx, edi
je 0x46b64b
mov eax, ecx
sub eax, edi
sar eax, 1
cmp eax, 8
jne 0x46b3a3
xor eax, eax
mov dword [ebp - 0x4e], eax
xor edx, edx
mov word [ebp - 0x50], dx
mov dword [ebp - 0x4a], eax
mov eax, dword [ecx - 0x10]
mov dword [ebp - 0x50], eax
mov ecx, dword [ecx - 0xc]
push 0xa
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x4c], ecx
call fcn.00476c44
lea ecx, [edi + 8]
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x58], ecx
jmp 0x46b3e5
cmp eax, 6
jne 0x46b3d3
xor edx, edx
mov word [ebp - 0x38], dx
mov dword [ebp - 0x36], edx
mov eax, dword [ecx - 0xc]
push 0xa
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], eax
call fcn.00476c44
lea ecx, [edi + 4]
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x58], ecx
jmp 0x46b3e5
cmp eax, 0xe
je 0x46b65e
cmp eax, 0xc
je 0x46b65e
cmp ebx, 0x64
jle 0x46b3f2
sub ebx, 0x76c
jmp 0x46b406
mov edi, dword [esi + 0x14]
mov eax, edi
cdq
mov esi, 0x64
idiv esi
mov esi, dword [ebp - 0x64]
sub edi, edx
add ebx, edi
test ebx, ebx
js 0x46b64b
mov dword [esi + 0x14], ebx
jmp 0x46ac95
movzx eax, word [edi]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
test ax, ax
jne 0x46b430
mov dword [esi + 0x14], 0
jmp 0x46ac9a
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b456
nop
movzx eax, word [edi + 2]
add edi, 2
push 4
push eax
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b440
push 0xa
lea ecx, [ebp - 0x58]
push ecx
push edi
call fcn.00476c44
mov ecx, dword [ebp - 0x58]
add esp, 0xc
mov ebx, eax
cmp ecx, edi
je 0x46b64b
mov eax, ecx
sub eax, edi
sar eax, 1
cmp eax, 8
jne 0x46b4ab
xor eax, eax
mov dword [ebp - 0x42], eax
xor edx, edx
mov word [ebp - 0x44], dx
mov dword [ebp - 0x3e], eax
mov eax, dword [ecx - 0x10]
mov dword [ebp - 0x44], eax
mov ecx, dword [ecx - 0xc]
push 0xa
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x40], ecx
call fcn.00476c44
lea ecx, [edi + 8]
jmp 0x46b4d1
cmp eax, 6
jne 0x46b4d9
xor edx, edx
mov word [ebp - 0xc], dx
mov dword [ebp - 0xa], edx
mov eax, dword [ecx - 0xc]
push 0xa
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], eax
call fcn.00476c44
lea ecx, [edi + 4]
mov dword [ebp - 0x58], ecx
mov ebx, eax
add esp, 0xc
cmp ebx, 0x64
jle 0x46b3f2
sub ebx, 0x76c
jmp 0x46b406
movzx eax, word [edi]
mov ecx, 0x80
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], edi
cmp ax, cx
jae 0x46ac9a
movzx edx, ax
push edx
call fcn.00470b0a
add esp, 4
test eax, eax
jne 0x46b52d
movzx eax, word [edi]
cmp eax, 0x41
jl 0x46b521
cmp eax, 0x5a
jle 0x46b52d
add eax, 0xffffff9f
cmp eax, 0x19
ja 0x46ac97
movzx eax, word [edi + 2]
add edi, 2
mov ecx, 0x80
cmp ax, cx
jb 0x46b504
jmp 0x46ac97
sub ebx, 2
cmp word [edi], 0x25
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x5c], ebx
jne 0x46b64b
add edi, 2
jmp 0x46ac97
movzx eax, word [edi]
cmp ax, bx
jne 0x46b56e
add edi, 2
jmp 0x46b611
cmp dword [ebp - 0x68], 0
jne 0x46b577
mov dword [ebp - 0x68], edi
push 0x10
push eax
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b5b8
movzx edx, word [edi]
push 0x10
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b614
lea esp, [esp]
movzx eax, word [edi + 2]
add edi, 2
push 0x10
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b5a0
jmp 0x46b611
movzx ecx, word [edi]
push 0x103
push ecx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b5fd
movzx edx, word [edi]
push 0x103
push edx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b614
movzx eax, word [edi + 2]
add edi, 2
push 0x103
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b5e2
jmp 0x46b611
mov ecx, 0x80
cmp word [edi], cx
jbe 0x46b614
add edi, 2
mov edx, ecx
cmp word [edi], dx
ja 0x46b607
mov dword [ebp - 0x54], edi
movzx ecx, byte [edi]
push 8
push ecx
call fcn.004723de
add esp, 8
test eax, eax
je 0x46ac9a
lea ebx, [ebx]
movzx eax, byte [edi + 2]
add edi, 2
push 8
push eax
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b630
jmp 0x46ac97
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d6a1
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp eax, 0xe
sete bl
add eax, eax
sub ecx, eax
xor edx, edx
mov word [ebp - 0x10], dx
mov dword [ebp - 0xe], edx
mov dword [ebp - 0xa], edx
lea ebx, [ebx + ebx + 2]
add ebx, ebx
push ebx
push ecx
lea ecx, [ebp - 0x10]
push ecx
call fcn.0047a300
add esp, 0xc
push 0xa
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00476c44
mov ecx, eax
add esp, 0xc
add edi, ebx
cmp ecx, 0x64
jle 0x46b6ad
sub ecx, 0x76c
jmp 0x46b6c1
mov ebx, dword [esi + 0x14]
mov eax, ebx
cdq
mov esi, 0x64
idiv esi
mov esi, dword [ebp - 0x64]
sub ebx, edx
add ecx, ebx
test ecx, ecx
js 0x46b64b
mov dword [esi + 0x14], ecx
xor ecx, ecx
mov word [ebp - 0xc], cx
mov edx, dword [edi]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edx
call fcn.00476c44
dec eax
add esp, 0xc
mov dword [esi + 0x10], eax
mov edx, dword [edi + 4]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edx
call fcn.00476c44
add esp, 0xc
mov dword [esi + 0xc], eax
mov edx, dword [edi + 8]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edx
call fcn.00476c44
add esp, 0xc
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edx
call fcn.00476c44
add esp, 0xc
mov dword [esi + 4], eax
mov edx, dword [edi + 0x10]
push 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edx
call fcn.00476c44
mov dword [esi], eax
mov eax, dword [ebp - 0x58]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d6a1
mov esp, ebp
pop ebp
ret
movzx eax, word [edi]
cmp eax, 0x41
je 0x46b775
cmp eax, 0x61
jne 0x46b79c
movzx eax, word [edi + 2]
cmp eax, 0x4d
je 0x46b783
cmp eax, 0x6d
jne 0x46b79c
movzx ecx, word [edi + 4]
push 0x103
push ecx
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b79c
add edi, 4
movzx eax, byte [edi]
push 8
push eax
call fcn.004723de
add esp, 8
test eax, eax
je 0x46b7c6
mov edi, edi
movzx edx, byte [edi + 2]
add edi, 2
push 8
push edx
call fcn.004723de
add esp, 8
test eax, eax
jne 0x46b7b0
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d6a1
mov esp, ebp
pop ebp
ret