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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x78], eax
mov edi, dword [ecx + 0x4c]
mov ecx, ebx
call fcn.004b1bba
mov edx, dword [edi]
mov ecx, dword [ebx + 8]
mov eax, ecx
or eax, 4
mov dword [ebx + 8], eax
mov dword [ebx + 0x74], edx
mov esi, dword [edi + 8]
test esi, esi
je 0x41dea0
or ecx, 5
mov dword [ebx + 8], ecx
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
push esi
call fcn.005b0c60
add esp, 4
cmp eax, 0xfffffff0
jae 0x41e32c
mov dword [esp + 8], esi
mov dword [esp + 4], edi
lea esi, [ebx + 0x6c]
cmp eax, 0xb
jae 0x41de24
lea edi, [esp + 0x58]
mov byte [edi + 0xb], al
mov ecx, edi
test eax, eax
jne 0x41de50
jmp 0x41de72
mov ebx, eax
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
mov edi, eax
call fcn.00596296
add esp, 4
mov ecx, eax
mov eax, edi
lea edi, [esp + 0x58]
mov dword [edi], ecx
or ebx, 0x80000000
mov dword [edi + 8], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 4], eax
mov dword [esp + 0xc], eax
push eax
push dword [esp + 0xc]
push ecx
mov dword [esp + 0x14], esi
mov esi, ecx
call fcn.00599c40
mov ecx, esi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
add esp, 0xc
mov byte [ecx + eax], 0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
push 0x642e48
call fcn.0041e61a
cmp byte [edi + 0xb], 0
jns 0x41de99
push dword [esp + 0x58]
call fcn.00596316
add esp, 4
mov eax, dword [ebx + 8]
mov edi, dword [esp + 4]
mov esi, ebx
mov ebx, dword [ebp + 0x10]
or eax, 2
mov dword [esi + 8], eax
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x41debf
push 0
call fcn.004b4232
add esp, 4
mov dword [esi + 0x70], eax
and bl, 1
or byte [eax + 8], 1
mov byte [eax + 0x10], bl
push dword [edi + 4]
call fcn.0043bd50
add esp, 4
movzx eax, al
inc eax
or byte [esi + 8], 8
mov dword [esi + 0x78], eax
push dword [edi]
call fcn.0043bde2
add esp, 4
or byte [esi + 8], 0x10
mov dword [esi + 0x7c], eax
lea ecx, [esp + 0x44]
call fcn.0042212c
lea ecx, [esp + 0x30]
call fcn.0042212c
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
test edi, edi
je 0x41e00c
mov ebx, esi
lea eax, [esi + 0x40]
mov dword [esp + 8], eax
lea esi, [edi + 8]
push esi
call fcn.00493ba0
add esp, 4
test al, al
je 0x41df66
mov dword [esp + 4], edi
lea edi, [esp + 0x58]
mov ecx, edi
call fcn.004af5fa
push edi
push esi
call fcn.0041d7e1
add esp, 8
test al, al
je 0x41dff7
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x41df85
mov ecx, dword [ebx + 0x44]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41df8a
lea edx, [ecx + 1]
mov dword [ebx + 0x44], edx
mov ebx, dword [eax + ecx*4 + 4]
jmp 0x41dfc1
push esi
call fcn.0041fbd5
add esp, 4
test al, al
je 0x41df79
lea ecx, [esp + 0x44]
jmp 0x41df7d
lea ecx, [esp + 0x30]
push esi
call fcn.004221aa
jmp 0x41e002
mov edx, dword [ebx + 0x48]
jmp 0x41df8f
cmp edx, dword [ebx + 0x48]
jne 0x41df9f
inc edx
mov ecx, dword [esp + 8]
push edx
call fcn.004aa3c0
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [ebx + 0x40]
call fcn.004b40e2
add esp, 4
mov esi, ebx
mov ebx, eax
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x4c]
lea edx, [eax + 1]
mov dword [esi + 0x44], edx
mov dword [ecx + eax*4 + 4], ebx
or byte [ebx + 8], 1
mov ecx, dword [ebx + 0x10]
test ecx, ecx
lea edi, [esp + 0x58]
jne 0x41dfe3
push 0
call fcn.004b3fba
add esp, 4
mov ecx, eax
lea edi, [esp + 0x58]
mov dword [ebx + 0x10], eax
push edi
call fcn.004afa62
or byte [ebx + 8], 2
mov dword [ebx + 0x14], 1
mov ebx, dword [ebp + 8]
mov ecx, edi
call fcn.004af63a
mov edi, dword [esp + 4]
mov edi, dword [edi]
test edi, edi
jne 0x41df19
lea ecx, [esp + 0x58]
lea eax, [esp + 0x30]
push eax
call fcn.00422140
mov esi, dword [esp + 0x4c]
cmp byte [ebp + 0x14], 0
je 0x41e044
test esi, esi
je 0x41e063
xor edi, edi
inc edi
lea eax, [esi + 8]
push dword [ebp + 8]
push edi
push edi
push eax
call fcn.0041d921
add esp, 0x10
mov esi, dword [esi]
test esi, esi
jne 0x41e02b
jmp 0x41e063
test esi, esi
je 0x41e063
lea edi, [esp + 0x1c]
lea ebx, [esp + 0x58]
lea eax, [esi + 8]
mov ecx, ebx
push eax
push eax
push edi
call fcn.0041e6a4
mov esi, dword [esi]
test esi, esi
jne 0x41e050
lea ebx, [esp + 0x1c]
mov ecx, ebx
call fcn.0042212c
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
push ebx
lea esi, [esp + 0x5c]
push esi
call dword [eax]
lea edi, [esp + 0x10]
mov ecx, esi
push edi
call fcn.0042233c
mov esi, dword [edi]
mov ecx, dword [edi + 4]
cmp esi, ecx
mov edi, dword [ebp + 8]
je 0x41e0ca
mov dword [esp + 4], ecx
lea ecx, [esp + 0x44]
push esi
call fcn.00422208
mov ebx, eax
lea ecx, [esp + 0x1c]
push esi
call fcn.00422208
movzx ecx, bl
movzx eax, al
push edi
push ecx
push eax
push esi
call fcn.0041d921
mov ecx, dword [esp + 0x14]
add esp, 0x10
add esi, 0xc
cmp ecx, esi
jne 0x41e097
lea ecx, [esp + 0x10]
call fcn.00405106
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
cmp esi, eax
mov ebx, edi
je 0x41e15a
lea eax, [ebx + 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x41e109
mov ecx, dword [ebx + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41e10e
lea edx, [ecx + 1]
mov dword [ebx + 0x24], edx
mov eax, dword [eax + ecx*4 + 4]
jmp 0x41e147
mov edx, dword [ebx + 0x28]
jmp 0x41e113
cmp edx, dword [ebx + 0x28]
jne 0x41e123
inc edx
mov ecx, dword [esp + 8]
push edx
call fcn.004aa3c0
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [ebx + 0x20]
call fcn.004b4140
add esp, 4
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 0x2c]
lea ebx, [ecx + 1]
mov edi, dword [ebp + 8]
mov dword [edi + 0x24], ebx
mov ebx, dword [ebp + 8]
mov dword [edx + ecx*4 + 4], eax
push eax
push esi
call fcn.0041e335
add esp, 8
add esi, 0x30
cmp dword [esp + 4], esi
jne 0x41e0ed
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], eax
cmp esi, eax
je 0x41e23b
lea eax, [ebx + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x41e192
mov ecx, dword [ebx + 0x34]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41e197
lea edx, [ecx + 1]
mov dword [ebx + 0x34], edx
mov edi, dword [eax + ecx*4 + 4]
jmp 0x41e1cc
mov edx, dword [ebx + 0x38]
jmp 0x41e19c
cmp edx, dword [ebx + 0x38]
jne 0x41e1ac
inc edx
mov ecx, dword [esp + 8]
push edx
call fcn.004aa3c0
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [ebx + 0x30]
call fcn.004b4170
add esp, 4
mov edi, eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x3c]
lea edx, [eax + 1]
mov dword [ebx + 0x34], edx
mov dword [ecx + eax*4 + 4], edi
or byte [edi + 8], 1
mov ebx, dword [edi + 0x10]
test ebx, ebx
jne 0x41e1e6
push 0
call fcn.004b401a
add esp, 4
mov ebx, eax
mov dword [edi + 0x10], eax
movzx eax, byte [esi + 0xb]
mov ecx, esi
test al, al
jns 0x41e1f5
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push eax
push ecx
lea edi, [esp + 0x18]
push edi
call fcn.0048c5c0
add esp, 0xc
or byte [ebx + 8], 1
add ebx, 0x30
mov ecx, ebx
push edi
push 0x642e48
call fcn.0041e61a
cmp byte [esp + 0x1b], 0
jns 0x41e22b
push dword [esp + 0x10]
call fcn.00596316
add esp, 4
add esi, 0xc
cmp dword [esp + 4], esi
mov ebx, dword [ebp + 8]
jne 0x41e176
lea ecx, [esp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx - 4], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x34]
test esi, esi
je 0x41e275
lea edi, [esp + 0x10]
lea eax, [esi + 0x18]
mov ecx, edi
push eax
push dword [esi + 0x14]
call fcn.0041e45e
mov esi, dword [esi]
test esi, esi
jne 0x41e257
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
jmp 0x41e277
mov ebx, ecx
cmp ecx, ebx
je 0x41e2e6
mov eax, dword [ebp + 8]
add eax, 0x50
mov dword [esp + 4], eax
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x50]
cmp eax, dword [ecx + 0x54]
jne 0x41e2a2
inc eax
mov edi, dword [esp + 4]
mov ecx, edi
push eax
call fcn.004aa224
mov eax, dword [edi]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x58]
lea edx, [eax + 1]
mov dword [edi + 0x50], edx
mov dword [ecx + eax*4], esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41e2c6
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x41e2b8
lea edx, [esp + 0x14]
jmp 0x41e2e0
mov eax, dword [ebx + 8]
cmp dword [eax], ebx
lea edx, [esp + 0x14]
je 0x41e2e0
add ebx, 8
mov ecx, dword [ebx]
lea ebx, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x41e2d4
mov ebx, eax
cmp edx, eax
jne 0x41e285
lea ecx, [esp + 0x10]
push dword [ecx + 4]
call fcn.0041ecb0
lea ecx, [esp + 0x1c]
call fcn.004221fe
lea ecx, [esp + 0x58]
call fcn.004221fe
lea ecx, [esp + 0x30]
call fcn.004221fe
lea ecx, [esp + 0x44]
call fcn.004221fe
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00596351
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x58]
call fcn.00478354