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

Disassembly:
push 0xec
mov eax, 0x425e2f
call fcn.00424073
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x18]
call fcn.0040e8d6
xor ebx, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp eax, 2
jne 0x410923
cmp edx, ebx
jne 0x410923
jmp 0x410909
mov eax, esi
call fcn.0040e48e
mov edi, dword [esi + 0x18]
call fcn.0040e8d6
or eax, edx
jne 0x410902
mov edi, dword [esi + 0x18]
call fcn.0040e8d6
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push 4
pop eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x405490
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], 3
jne 0x4109a5
cmp dword [ebp - 0x20], ebx
jne 0x4109a5
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
lea edi, [ebx + 0x150]
push edi
push dword [ebx + 0x144]
push dword [ebx + 0x140]
push esi
call fcn.0040f714
test eax, eax
je 0x410981
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x50]
push eax
call fcn.00411736
mov eax, esi
jmp 0x4110a6
mov eax, dword [ebx + 0x140]
add dword [edi], eax
mov eax, dword [ebx + 0x144]
adc dword [edi + 4], eax
mov edi, dword [esi + 0x18]
call fcn.0040e8d6
push 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
pop eax
jmp 0x4109a8
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], 8
mov dword [ebp - 0xc0], 0x405298
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0xac], 0x405298
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x98], 0x405298
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24], eax
jne 0x410ad7
cmp dword [ebp - 0x20], esi
jne 0x410ad7
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebx + 0x50]
push eax
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebx + 0x28]
push eax
lea eax, [ebx + 0x14]
push eax
push ebx
lea edi, [ebx + 0x148]
push edi
lea eax, [ebp - 0x50]
push eax
call fcn.0040f562
mov eax, dword [ebx + 0x140]
add dword [edi], eax
mov eax, dword [ebx + 0x144]
adc dword [edi + 4], eax
mov edi, dword [esi + 0x18]
call fcn.0040e8d6
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
xor esi, esi
lea edi, [ebx + 0x64]
push dword [edi + 8]
mov eax, dword [edi]
push esi
mov ecx, edi
mov dword [ebp - 0x28], edi
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
jne 0x410b87
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00412870
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00412870
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.00412870
jmp 0x41096d
mov dword [ebp - 0x18], esi
cmp dword [ebx + 0x44], esi
jle 0x410a88
push 1
lea esi, [ebx + 0x50]
call fcn.00414a06
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp - 0x18]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x410afd
xor edx, edx
jmp 0x410b33
lea ecx, [eax - 1]
test ecx, ecx
js 0x410b72
mov edx, dword [edi + 0x1c]
xor esi, esi
test edx, edx
jle 0x410b1f
mov eax, dword [edi + 0x20]
add eax, 4
cmp dword [eax], ecx
je 0x410b22
inc esi
add eax, 8
cmp esi, edx
jl 0x410b13
or esi, 0xffffffff
test esi, esi
js 0x410b29
dec ecx
jmp 0x410b00
mov eax, dword [edi + 0x48]
mov edx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
push eax
push edx
lea esi, [ebp - 0xc0]
call fcn.004149dc
movzx eax, byte [edi + 0x54]
push eax
lea esi, [ebp - 0xac]
call fcn.00411672
push dword [edi + 0x50]
lea esi, [ebp - 0x98]
call fcn.00414a06
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x44]
jl 0x410adf
jmp 0x410a86
push 0x4262c0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 1
call fcn.00422de6
cmp dword [ebp - 0x24], 5
jne 0x410b92
cmp dword [ebp - 0x20], esi
je 0x410b97
call fcn.0040e7cc
mov eax, dword [ebp + 8]
call fcn.0040e473
mov ebx, eax
mov esi, edi
mov dword [ebp - 0x14], ebx
call fcn.004128cf
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jbe 0x410c31
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x74]
call fcn.0040c425
mov dword [ebp - 0x68], 1
push 0x20
mov byte [ebp - 4], 4
call fcn.00422929
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x410c11
mov eax, dword [ebp - 0x84]
mov dword [esi], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x78]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
lea edi, [ebp - 0x74]
call fcn.0040d86b
mov edi, dword [ebp - 0x28]
mov dword [esi + 0x1c], 1
jmp 0x410c13
xor esi, esi
push esi
mov esi, edi
mov byte [ebp - 4], 4
call fcn.00414a06
mov byte [ebp - 4], 3
push dword [ebp - 0x74]
call fcn.0042289a
dec dword [ebp - 0x18]
pop ecx
jne 0x410bb8
mov edi, dword [ebp + 0xc]
push ebx
lea esi, [edi + 0x158]
push 9
mov dword [ebp - 0x28], esi
call fcn.004149dc
cmp dword [edi + 8], ebx
je 0x410c52
push ebx
push 6
call fcn.004149dc
cmp dword [ebp - 0x14], ebx
jbe 0x410c67
cmp dword [ebp - 0x90], ebx
je 0x410c67
push ebx
push 0xa
call fcn.004149dc
xor edi, edi
inc edi
mov esi, 0x405298
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.0040e4bb
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xd4], esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x1c], ebx
jmp 0x410f5b
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x18]
call fcn.0040e8d6
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x38], edx
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x30], ebx
ja case.0x410d16.22
jb 0x410d07
cmp dword [ebp - 0x34], 0x40000000
ja case.0x410d16.22
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff2
cmp edx, 0xb
ja case.0x410d16.22
jmp dword [edx*4 + 0x4110b1]
mov byte [ebp - 0xf4], bl
push dword [ebp + 8]
lea esi, [ebp - 0x50]
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 9
call fcn.0040e894
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 0x6c], ebx
jle 0x410d63
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + esi*4]
add eax, 0x10
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x18]
call fcn.0040e967
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [eax + 0x6c]
jl 0x410d42
lea ebx, [ebp - 0xf8]
mov byte [ebp - 4], 8
call fcn.0040e7f1
xor ebx, ebx
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x34]
call fcn.004149dc
jmp 0x410f27
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x78], 0x405298
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax + 0x6c]
lea eax, [ebp - 0x78]
call fcn.0040f630
mov byte [ebp - 0xec], bl
push dword [ebp + 8]
lea esi, [ebp - 0x50]
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xb
call fcn.0040e894
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], ebx
jbe 0x410e1a
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ecx + eax*4]
mov al, byte [edx + eax]
mov byte [ecx + 0x1f], al
cmp al, bl
je 0x410e0e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 8]
lea esi, [edx + 4]
cmp esi, dword [eax + 4]
ja 0x410b92
mov edi, dword [eax]
mov edx, dword [edx + edi]
mov dword [eax + 8], esi
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x14]
jb 0x410dd8
lea ebx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
call fcn.0040e7f1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.00412870
jmp 0x410d72
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ebp - 0x64]
call fcn.0040f5dc
xor eax, eax
cmp dword [ebp - 0x5c], ebx
jbe 0x410e5e
mov ecx, dword [ebp - 0x58]
cmp byte [ecx + eax], bl
je 0x410e58
inc dword [ebp - 0x1c]
inc eax
cmp eax, dword [ebp - 0x5c]
jb 0x410e4d
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.0040e4bb
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xd4]
call fcn.0040e4bb
jmp 0x410d74
lea eax, [ebp - 0xe8]
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0040f5dc
jmp 0x410d74
lea eax, [ebp - 0xd4]
jmp 0x410e85
mov edi, dword [ebp + 0xc]
add edi, 0xf0
push dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.0040f678
jmp 0x410d74
mov edi, dword [ebp + 0xc]
add edi, 0x78
jmp 0x410ea4
mov edi, dword [ebp + 0xc]
add edi, 0xa0
jmp 0x410ea4
mov edi, dword [ebp + 0xc]
add edi, 0xc8
jmp 0x410ea4
xor edi, edi
xor esi, esi
cmp dword [ebp - 0x38], ebx
jb 0x410f27
ja 0x410ee4
cmp dword [ebp - 0x3c], ebx
jbe 0x410f27
mov eax, dword [ebp + 8]
call fcn.0040e459
test al, al
jne 0x410b92
add edi, 1
adc esi, ebx
cmp esi, dword [ebp - 0x38]
jb 0x410ee4
ja 0x410f27
cmp edi, dword [ebp - 0x3c]
jb 0x410ee4
jmp 0x410f27
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 4]
sub edx, esi
cmp dword [ebp - 0x38], ebx
ja 0x410b92
jb 0x410f22
cmp eax, edx
ja 0x410b92
add eax, esi
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x130], bl
ja 0x410f3b
cmp byte [eax + 0x131], 2
jbe 0x410f5b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x20]
xor ecx, ecx
cmp eax, dword [ebp - 0x3c]
jne 0x410b92
cmp ecx, dword [ebp - 0x38]
jne 0x410b92
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
call fcn.0040e8d6
mov dword [ebp - 0x34], eax
or eax, edx
mov dword [ebp - 0x30], edx
jne 0x410cd5
xor edi, edi
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x1c], ebx
jbe 0x410f97
mov ecx, dword [ebp - 0xc8]
cmp byte [ecx + eax], bl
je 0x410f91
inc dword [ebp + 8]
inc eax
cmp eax, dword [ebp - 0x1c]
jb 0x410f83
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x14], ebx
jbe 0x411041
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
cmp byte [edx + ecx], bl
mov eax, dword [eax + 0x70]
mov eax, dword [eax + ecx*4]
sete cl
mov byte [eax + 0x1c], cl
cmp cl, bl
je 0x410ff1
mov byte [eax + 0x1d], bl
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + edi*8]
mov dword [eax], edx
mov ecx, dword [ecx + edi*8 + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + edi*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xa0]
mov cl, byte [ecx + edi]
mov byte [ebp - 0x1c], bl
mov byte [eax + 0x1e], cl
inc edi
jmp 0x41101b
mov ecx, dword [ebp - 0xdc]
mov esi, dword [ebp - 0x28]
cmp byte [ecx + esi], bl
sete cl
mov byte [eax + 0x1d], cl
mov ecx, dword [ebp - 0xc8]
mov cl, byte [ecx + esi]
inc esi
mov byte [ebp - 0x1c], cl
mov dword [ebp - 0x28], esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 0x1e], bl
cmp dword [ebp + 8], ebx
je 0x411031
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x1c]
add esi, 0x118
call fcn.00411672
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x14]
jb 0x410fa5
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 7
call fcn.00412870
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.00412870
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00412870
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00412870
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00412870
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], bl
call fcn.00412870
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x50]
push eax
call fcn.00411736
xor eax, eax
call fcn.0042414b
ret 8