Function at 0x4137a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ebx]
push edi
mov edi, ecx
sub esp, 0x10
mov eax, dword [edi + 0xf4]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], edi
mov eax, dword [eax + edx*4]
mov dword [esp + 0x30], 3
movsx ecx, word [eax + 0xa]
mov edx, dword [eax]
mov dword [esp + 0x5c], ecx
mov eax, dword [edx]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
inc dword [eax]
lea ecx, [edi + 0x138]
call fcn.0040d990
mov dword [esp + 0x3c], eax
test eax, eax
je 0x479792
mov eax, dword [edi + 0x14c]
inc dword [ebx]
mov ecx, dword [ebx]
mov esi, dword [esi + 4]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x48], eax
mov eax, dword [esi + ecx*4]
mov dword [esp + 0x54], 0x49dc18
cmp word [eax + 8], 0x47
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0x4b2694
jne 0x4797aa
inc ecx
mov dword [ebx], ecx
xor edi, edi
mov dword [esp + 0x18], ecx
mov edx, dword [ebx]
mov eax, dword [esi + edx*4]
movsx eax, word [eax + 8]
cmp eax, 0x47
jge 0x4138a7
lea eax, [edx + 1]
mov dword [ebx], eax
jmp 0x413892
sub eax, 0x47
je 0x4142e1
dec eax
jne 0x4797c3
test edi, edi
jne 0x4797ec
mov edi, dword [esp + 0x3c]
mov esi, edx
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
mov dword [ebx], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0xf4], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], esi
cmp eax, dword [0x4c2110]
jg 0x4142ec
test eax, eax
jle 0x4142ec
shl eax, 4
add eax, dword [0x4c214c]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edx]
cmp word [eax + 8], 0
jne 0x413914
cmp dword [eax], 0x2b
je 0x4797f7
mov edi, 3
mov esi, dword [esp + 0x3c]
xor eax, eax
cmp dword [esi + 0x14], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
jg 0x413f08
mov dl, byte [ebp + 8]
mov edi, dword [esp + 0x3c]
cmp eax, dword [edi + 0x18]
jl 0x479d59
cmp eax, dword [edi + 0x14]
jg 0x479d59
cmp ecx, esi
jne 0x479d59
mov eax, dword [edi + 0x10]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], eax
test eax, eax
js 0x479aa3
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4c20f0
call fcn.004010f9
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x479ab0
cmp dword [edi + 0x14], 1
jge 0x413c7e
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x14c], eax
mov eax, dword [ebx]
mov dword [esp + 0x90], 0
mov edi, dword [eax + 4]
add edi, ebx
mov dword [esp + 0x98], 0
cmp byte [edi + 0xd], 0
mov dword [esp + 0x9c], 1
mov byte [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0xa8], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 1
mov byte [esp + 0xc0], 0
jne 0x479c8e
push 0x40
call fcn.0041f6ba
mov esi, eax
add esp, 4
test esi, esi
je 0x414348
lea eax, [esp + 0x90]
push eax
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00412070
lea ecx, [esi + 0x20]
lea eax, [esp + 0xb0]
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
push eax
mov dword [ecx + 8], 0
call fcn.00412070
mov byte [esi + 0x30], 0
mov eax, dword [edi + 8]
mov dword [esi + 0x38], eax
mov dword [edi + 8], esi
inc dword [edi + 4]
mov eax, dword [esp + 0x3c]
mov edi, dword [ebx + 0xf4]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
inc eax
lea esi, [ebx + 0x160]
push eax
mov ebx, dword [esi]
call fcn.0040edf0
cmp ebx, dword [esi]
jb 0x479ca7
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx]
mov dword [ebx + 0xf4], edi
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 8]
add ecx, ebx
cmp byte [ecx + 0xd], 0
jne 0x41434f
cmp byte [eax + 0x10], 0
mov eax, dword [ebp + 0x18]
je 0x4141c7
cmp byte [ecx + 0xd], 0
mov byte [eax], 1
jne 0x479cb7
mov edi, dword [ecx + 8]
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x413afd
cmp dword [esi + 0xc], 4
je 0x479cc2
mov ecx, esi
call fcn.00413260
push edi
mov ecx, esi
call fcn.00412070
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov eax, dword [esi + ebx + 8]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x414357
cmp byte [eax + 0x18], 0
jne 0x479cdc
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x41435f
cmp byte [eax + 0x30], 0
jne 0x479cf3
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x479d10
cmp byte [esi + 0xc], 0
jne 0x414367
mov edi, dword [esi + 8]
mov ebx, dword [edi + 0x38]
test edi, edi
je 0x413b70
lea ecx, [edi + 0x20]
call fcn.00413260
mov ecx, edi
call fcn.00413260
push edi
call fcn.0041f72e
add esp, 4
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x10]
mov byte [esi + 0xd], 0
dec dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 8]
add ecx, ebx
cmp byte [ecx + 0xd], 0
jne 0x414370
mov edx, dword [esp + 0xa4]
mov dword [eax + 0x14], edx
cmp byte [ecx + 0xd], 0
mov eax, dword [ecx + 8]
jne 0x414378
mov byte [eax + 0x18], 0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x479d2c
mov edi, dword [esi + 8]
add edi, 0x20
lea eax, [esp + 0xb0]
cmp edi, eax
je 0x413bf0
cmp dword [edi + 0xc], 4
je 0x479d37
mov ecx, edi
call fcn.00413260
lea eax, [esp + 0xb0]
push eax
mov ecx, edi
call fcn.00412070
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x414380
mov ecx, 0x4c20f0
mov byte [eax + 0x30], 0
call fcn.00407514
mov eax, dword [esp + 0x8c]
mov dword [ebx + 0x14c], eax
xor ebx, ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x40], ebx
call fcn.00413260
lea ecx, [esp + 0x90]
call fcn.00413260
lea ecx, [esp + 0x78]
call fcn.00413260
mov edi, dword [esp + 0x70]
xor esi, esi
test edi, edi
jne 0x414131
push dword [esp + 0x6c]
call fcn.0041f72e
mov eax, dword [esp + 0x60]
add esp, 4
xor esi, esi
test eax, eax
jne 0x414155
push dword [esp + 0x58]
call fcn.0041f72e
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
sub eax, ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
jmp 0x413ca0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
lea edx, [ecx + esi*4]
xor ebx, ebx
cmp word [eax + 8], bx
je 0x479af2
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 1
mov edi, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
xor esi, esi
lea edx, [ecx + 4]
mov eax, dword [edx]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x41430b
cmp ax, 0x48
je 0x4141a4
cmp ax, 0x40
jne 0x4141ab
test esi, esi
jne 0x4141ab
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x24]
jg 0x479bf1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + edx]
cmp byte [eax], 0
jne 0x479b1b
mov eax, dword [ecx]
mov esi, dword [edx]
mov edi, dword [eax]
or ebx, 0x200
cmp dword [0x4c20f0], 0
mov dword [esp + 0x4c], esi
je 0x479b4d
cmp byte [0x4c20f9], 0
mov eax, dword [0x4c20f4]
jne 0x414315
push eax
push edi
mov dword [esp + 0x40], eax
call fcn.00414b60
test al, al
jne 0x479b63
and ebx, 0xff00
push 0x20
mov dword [esp + 0x4c], ebx
call fcn.0041f6ba
mov esi, eax
add esp, 4
test esi, esi
je 0x414324
xor ecx, ecx
mov eax, 8
mov edx, 2
mul edx
seto cl
mov dword [esi + 4], 0
mov dword [esi + 8], 8
neg ecx
or ecx, eax
push ecx
call fcn.0041f6ba
add esp, 4
xor ecx, ecx
mov dword [esi], eax
push 4
mov word [eax], cx
call fcn.0041f6ba
add esp, 4
test eax, eax
je 0x41431d
mov dword [eax], 1
mov dword [esi + 0xc], eax
cmp esi, edi
je 0x413e14
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
cmp eax, 1
jg 0x479b83
mov ebx, dword [edi + 4]
mov dword [esi + 4], ebx
lea eax, [ebx + 1]
cmp dword [esi + 8], eax
jb 0x479ba3
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edi]
push dword [esi]
call fcn.0041f050
mov ebx, dword [esp + 0x54]
add esp, 0xc
push 0x10
mov dword [esi + 0x10], ebx
call fcn.0041f6ba
mov edi, eax
add esp, 4
test edi, edi
je 0x41432b
push dword [esp + 0x4c]
mov ecx, edi
mov dword [edi + 8], 0
call fcn.00412070
mov ebx, dword [esp + 0x38]
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4141b4
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00414b60
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi + 4]
mov eax, dword [ecx + 4]
test edi, edi
je 0x414332
test eax, eax
je 0x479be4
cmp edi, eax
jb 0x4141ef
mov ecx, dword [ecx]
mov edx, dword [esi]
test edi, edi
je 0x413ea6
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x413eaa
add edx, 2
add ecx, 2
dec edi
jne 0x413e95
xor eax, eax
jmp 0x413eb5
jb 0x414247
mov eax, 1
test eax, eax
js 0x41424f
jle 0x41433f
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ecx
mov dword [ecx + 0x1c], 0
mov edi, dword [esp + 0x14]
mov dword [ebx], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x34], 4
inc eax
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ecx + 0x14]
jle 0x413ca0
jmp 0x413995
cmp ecx, esi
jae 0x414194
inc eax
lea edx, [edx + edi*4]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
xor esi, esi
xor bl, bl
mov dword [esp + 0x38], esi
cmp word [eax + 8], si
je 0x479805
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x33
je 0x413f3e
xor bl, bl
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x70], eax
je 0x414099
push 1
call fcn.0041f6ba
add esp, 4
test eax, eax
je 0x4142f3
mov byte [eax], bl
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
inc ecx
mov dword [edx + ecx*4 - 4], eax
mov dword [esp + 0x70], ecx
test bl, bl
jne 0x479855
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xf4], ecx
lea ecx, [esp + 0x78]
call fcn.00413260
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x84], 1
mov dword [esp + 0x78], 0
cmp dword [esp + 0x5c], ebx
je 0x4140e5
mov ebx, dword [esp + 0x58]
push 0x10
call fcn.0041f6ba
mov esi, eax
add esp, 4
test esi, esi
je 0x4142fa
lea eax, [esp + 0x78]
push eax
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00412070
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
mov dword [ebx + eax*4], esi
mov esi, dword [esp + 0x2c]
inc eax
push esi
push dword [ebx + eax*4 - 4]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00410720
test eax, eax
js 0x479d87
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [edx + 0xf4], eax
mov ecx, dword [ecx + 4]
inc edi
mov dword [esp + 0x14], edi
mov eax, dword [ecx + edi*4]
cmp word [eax + 8], 0x41
je 0x414201
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x414190
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x40
jne 0x479a17
lea eax, [ecx + 1]
cmp eax, esi
je 0x479a17
mov ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov eax, dword [edx + edi*4]
cmp word [eax + 8], 0x40
jne 0x41407a
inc edi
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
inc eax
cmp eax, dword [ebx + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
jl 0x413f08
jmp 0x414194
add eax, eax
mov dword [esp + 0x34], eax
cmp eax, 8
jae 0x4140ad
mov eax, 8
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x74], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041f6ba
mov edx, dword [esp + 0x70]
add esp, 4
mov esi, eax
test edx, edx
jne 0x414268
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x38]
jmp 0x413f4c
add ebx, ebx
mov dword [esp + 0x64], ebx
cmp ebx, 8
jae 0x4140f9
mov ebx, 8
mov dword [esp + 0x64], ebx
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x60], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0041f6ba
mov ebx, dword [esp + 0x5c]
add esp, 4
mov esi, eax
test ebx, ebx
jne 0x41429f
mov ebx, esi
mov dword [esp + 0x58], ebx
jmp 0x413fb5
mov ebx, dword [esp + 0x6c]
push dword [ebx + esi*4]
call fcn.0041f72e
mov dword [ebx + esi*4], 0
inc esi
add esp, 4
cmp esi, edi
jb 0x414135
mov ebx, dword [esp + 0x40]
jmp 0x413c4d
mov ecx, dword [esp + 0x58]
lea esp, [esp]
mov edi, dword [ecx + esi*4]
test edi, edi
je 0x41417f
mov ecx, edi
call fcn.00414e50
push edi
call fcn.0041f72e
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
add esp, 4
mov dword [ecx + esi*4], 0
inc esi
cmp esi, eax
jb 0x414160
jmp 0x413c67
mov eax, dword [esp + 0x24]
mov dl, byte [ebp + 8]
cmp eax, 1
je 0x4141e6
mov ebx, dword [ebp + 0x10]
jmp 0x41393b
dec esi
js 0x413d01
inc edi
add edx, 4
jmp 0x413cd5
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jmp 0x413ed7
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov byte [eax], 0
call fcn.00413260
mov dword [esi + 0xc], 1
mov dword [esi], 0
jmp 0x413afd
test dl, dl
je 0x41419c
jmp 0x479a37
mov edx, dword [ecx]
mov ecx, dword [esi]
push eax
call fcn.0040d960
add esp, 4
jmp 0x413eb5
inc edi
xor edx, edx
lea ecx, [ecx + edi*4]
jmp 0x414210
mov eax, dword [ecx]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x414301
cmp ax, 0x48
je 0x4142d1
cmp ax, 0x40
je 0x414236
inc edi
add ecx, 4
jmp 0x414210
test edx, edx
jne 0x414230
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x10]
jmp 0x414036
or eax, 0xffffffff
jmp 0x413eb5
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [ecx + 0x18], 0
jmp 0x413ed7
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4140d8
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.0041f050
add esp, 0xc
push dword [esp + 0x6c]
call fcn.0041f72e
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x3c]
add esp, 4
jmp 0x413f4c
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x414126
lea ecx, [eax*4]
push ecx
push ebx
push esi
call fcn.0041f050
add esp, 0xc
push ebx
call fcn.0041f72e
mov ebx, esi
add esp, 4
mov dword [esp + 0x58], ebx
jmp 0x413fb5
dec edx
js 0x41423a
inc edi
add ecx, 4
jmp 0x414210
lea eax, [edx + 1]
inc edi
mov dword [ebx], eax
jmp 0x413892
xor eax, eax
jmp 0x4138fb
xor eax, eax
jmp 0x413f60
xor esi, esi
jmp 0x413fdc
inc edx
inc edi
add ecx, 4
jmp 0x414210
inc esi
inc edi
add edx, 4
jmp 0x413cd5
mov eax, dword [eax + 8]
jmp 0x413d56
xor eax, eax
jmp 0x413dd2
xor esi, esi
jmp 0x413dd5
xor edi, edi
jmp 0x413e3d
test eax, eax
je 0x479be4
jmp 0x414253
mov esi, dword [esp + 0x1c]
jmp 0x413ed7
xor esi, esi
jmp 0x413a6d
mov eax, dword [eax + 0x38]
jmp 0x413ac0
mov eax, dword [eax + 0x38]
jmp 0x413b12
mov eax, dword [eax + 0x38]
jmp 0x413b29
mov byte [esi + 0xd], 1
jmp 0x413b7b
mov eax, dword [eax + 0x38]
jmp 0x413b93
mov eax, dword [eax + 0x38]
jmp 0x413baa
mov eax, dword [eax + 0x38]
jmp 0x413bfd
push dword [esp + 0x4c]
mov ecx, edi
push 0x85
call fcn.0044cbf0
or eax, 0xffffffff
jmp 0x413c75
push dword [esp + 0x4c]
mov ecx, edi
push 0x6f
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
sub eax, 0x37
jne 0x4138a0
mov eax, dword [esi + edx*4 - 4]
mov ecx, dword [esp + 0x10]
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
lea eax, [edx + 1]
dec edi
mov dword [ebx], eax
jmp 0x413892
mov edi, 4
mov dword [esp + 0x20], edi
jmp 0x413919
mov esi, dword [edx + 4]
cmp word [esi + 8], 0x33
je 0x47981b
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x47998e
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, 0x24
jne 0x47982c
mov esi, dword [esp + 0x38]
mov bl, 1
jmp 0x47983e
cmp eax, 0x1e
jne 0x47998e
mov esi, 0x100
mov dword [esp + 0x38], esi
mov eax, dword [edx + 4]
add edx, 4
inc edi
cmp word [eax + 8], 0
mov dword [esp + 0x14], edi
je 0x479805
jmp 0x413f2c
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 4]
push 0
mov eax, dword [ecx + eax*4]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x24]
push ecx
push dword [eax]
call fcn.0041c6bf
test al, al
je 0x4799b8
test dword [esp + 0x48], 0x100
je 0x4798c4
test esi, 0x100
jne 0x4798c4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov dword [edx + 0xf4], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov eax, dword [ecx + eax*4]
mov ecx, edx
movsx eax, word [eax + 0xa]
push eax
push 0xb0
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc dword [esp + 0x14]
inc edi
push 5
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00402042
test al, al
je 0x479915
mov eax, dword [ebx + 4]
mov eax, dword [eax + edi*4]
cmp word [eax + 8], 0x4e
jne 0x479915
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0045f2af
test eax, eax
jns 0x47994f
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
push 0xf
mov ecx, esi
call fcn.00402042
test al, al
je 0x479953
mov eax, dword [ebx + 4]
mov eax, dword [eax + edi*4]
cmp word [eax + 8], 0x4e
jne 0x479953
mov ecx, dword [esp + 0x10]
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.0045f57d
test eax, eax
js 0x479d87
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
call fcn.00413260
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], 6
mov dword [esp + 0x7c], esi
call fcn.004403de
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x64], eax
jmp 0x41423e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi*4 + 4]
movsx eax, word [eax + 0xa]
push eax
push 0x91
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov dword [esi + 0xf4], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov eax, dword [ecx + eax*4]
mov ecx, esi
push dword [eax]
call fcn.0040215a
mov ecx, dword [ebx + 4]
test eax, eax
mov eax, dword [esp + 0x18]
mov eax, dword [ecx + eax*4]
mov ecx, esi
movsx eax, word [eax + 0xa]
push eax
jne 0x479a01
push 0x79
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
push 0xbc
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, edx
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0045cd31
test eax, eax
jne 0x479a93
lea ecx, [esp + 0x68]
call fcn.004027a0
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x479a87
mov byte [esp + 0x33], 0
mov esi, eax
lea eax, [esp + 0x33]
push eax
lea ecx, [esp + 0x6c]
call fcn.0044046d
dec esi
jne 0x479a62
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
jmp 0x413938
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
jmp 0x413938
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
jmp 0x413938
mov dword [esp + 0x44], 0
jmp 0x413970
mov eax, dword [esi + 0x18]
test eax, eax
je 0x479ac1
push eax
lea ecx, [esp + 0x44]
call fcn.004075af
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x479ad2
push eax
lea ecx, [esp + 0x44]
call fcn.004075af
cmp byte [esi + 0x10], 0
jne 0x479ae5
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x479ae5
push ecx
call fcn.0043f9bc
push ecx
mov ecx, esi
call fcn.00404cb9
jmp 0x41398b
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, 0x24
je 0x479b05
cmp eax, 0x1e
jne 0x479b09
mov ebx, 0x100
inc esi
add edx, 4
mov eax, dword [edx]
cmp word [eax + 8], 0
je 0x479af2
mov dword [esp + 0x20], esi
jmp 0x413cbd
mov eax, dword [edx]
cmp dword [eax + 0xc], 6
jne 0x479b27
mov edx, dword [eax]
jmp 0x479b29
xor edx, edx
mov eax, dword [ecx]
push 1
or ebx, 0x200
push ebx
push edx
push dword [eax]
call fcn.00447fd4
test al, al
je 0x479c64
mov edi, dword [esp + 0x14]
jmp 0x413edd
push ebx
push esi
push edi
mov ecx, 0x4c20e0
call fcn.0040dc46
mov edi, dword [esp + 0x14]
jmp 0x413edd
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
test ecx, ecx
je 0x413d69
mov ecx, dword [ecx + 0x14]
push esi
call fcn.0040dd94
mov edi, dword [esp + 0x14]
jmp 0x413edd
dec eax
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
inc dword [eax]
jmp 0x413e14
push eax
call fcn.0040a06b
mov dword [esi + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x479bbb
push eax
call fcn.0041f72e
add esp, 4
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041f6ba
add esp, 4
xor ecx, ecx
mov dword [esi], eax
mov word [eax + ebx*2], cx
jmp 0x413df9
test edi, edi
jne 0x413ec7
jmp 0x413e85
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea eax, [ecx + 2]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0xf8], eax
lea eax, [edi + ecx]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x34]
mov ecx, esi
call fcn.00410720
mov dword [esi + 0xf8], 0
test eax, eax
js 0x479d87
mov ecx, dword [esp + 0x20]
push 1
or ebx, 0x200
push ebx
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
push dword [eax]
call fcn.0040db85
jmp 0x413edd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x10]
movsx eax, word [eax + 0xa]
push eax
push 0x79
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
mov ecx, dword [edi + 8]
lea eax, [esp + 0x90]
push eax
call fcn.0044c8a0
mov byte [edi + 0xd], 0
jmp 0x413a76
mov ecx, esi
call fcn.00405b10
cmp ebx, dword [esi]
jb 0x479ca7
jmp 0x413aa1
mov eax, dword [ecx + 8]
mov edi, dword [eax + 0x38]
jmp 0x413add
cmp dword [edi + 0xc], 4
jne 0x413aee
push dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.004097df
jmp 0x413afd
lea ecx, [esi + 4]
call fcn.0040469e
mov eax, dword [eax + 0x14]
mov dword [esp + 0xa4], eax
jmp 0x413b1c
lea ecx, [esi + 4]
call fcn.0040469e
add eax, 0x20
push eax
lea ecx, [esp + 0xb4]
call fcn.0040dd94
jmp 0x413b33
mov ecx, dword [esi + 8]
mov edi, dword [ecx + 0x38]
test ecx, ecx
je 0x479d20
push ecx
call fcn.00404715
mov dword [esi + 8], edi
mov byte [esi + 0xd], 0
jmp 0x413b44
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x38]
jmp 0x413bc2
cmp dword [esp + 0xbc], 4
jne 0x413bda
push dword [esp + 0xb8]
mov ecx, dword [edi + 8]
call fcn.004097df
jmp 0x413bf0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xf4], ecx
test dl, dl
jne 0x479d84
push dword [esp + 0x4c]
mov ecx, eax
push 0x70
call fcn.0044cbf0
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36
add dword [ebx], 0xfffffffe
or ebx, 0xffffffff
mov dword [esp + 0x40], ebx
jmp 0x413c36