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

Disassembly:
push 0xffffffffffffffff
push 0x491b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
push edi
xor edi, edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov esi, dword [esp + 0x6c]
cmp word [esi], di
mov byte [esp + 0x60], 1
mov eax, esi
je 0x41dd28
add eax, 2
cmp word [eax], di
jne 0x41dd20
sub eax, esi
test eax, 0xfffffffe
jne 0x41dd64
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 0
call fcn.00476730
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xffffffff
call fcn.00476730
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [0x4a920c]
test eax, eax
jne 0x41dd9e
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], al
call fcn.00476730
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xffffffff
call fcn.00476730
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push ebx
push 0x4a9158
call fcn.0044ed40
mov ebx, dword [esp + 0x70]
mov eax, dword [ebx + 0x98]
add esp, 4
cmp eax, edi
je 0x41de08
cmp eax, 0x18
je 0x41de08
cmp eax, 0x1a
je 0x41de08
mov ecx, dword [esp + 0x74]
push ecx
push esi
push ebx
call fcn.0041daf0
add esp, 0xc
lea ecx, [esp + 0x54]
mov esi, eax
mov byte [esp + 0x64], 0
call fcn.00476730
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00476730
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push esi
lea ecx, [esp + 0x58]
call fcn.00476490
mov ecx, dword [esp + 0x58]
cmp byte [ecx], 0
mov eax, ecx
je 0x41de28
lea ecx, [ecx]
add eax, 1
cmp byte [eax], 0
jne 0x41de20
sub eax, ecx
push edi
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00476660
mov dword [esp + 0xc], eax
push ebp
mov ecx, dword [ebx + 0x48]
cmp ecx, 3
mov eax, dword [esp + 0x78]
jmp 0x41de50
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jne 0x41df09
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x78]
push ecx
push eax
add ebx, 0x28
push ebx
mov ebp, eax
call fcn.004054d0
add esp, 0x10
cmp eax, edi
je 0x41dfc0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
mov ecx, dword [eax + 8]
test ecx, ecx
lea ecx, [ecx + eax + 0x16]
jne 0x41de95
lea ecx, [eax + 0x15]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.004750f0
add esp, 0x10
cmp eax, dword [esp + 0x2c]
jl 0x41dec4
cmp eax, dword [esp + 0x10]
je 0x41e429
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + edi*4]
add esi, 1
add ebp, 1
cmp esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
jge 0x41dee4
mov ecx, dword [eax + 8]
lea edx, [ecx + esi*4 + 0x14]
mov eax, dword [edx + eax]
jmp 0x41df00
add edi, 1
cmp edi, dword [ebx + 4]
jge 0x41dfc0
mov ecx, dword [ecx + edi*4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + ecx + 0x14]
xor esi, esi
mov dword [esp + 0x1c], esi
test eax, eax
jne 0x41de87
jmp 0x41dfc0
cmp ecx, 4
jne 0x41dfc0
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
push eax
add ebx, 0x28
push ebx
mov ebp, eax
call fcn.004054d0
add esp, 0x10
test eax, eax
je 0x41dfc0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
nop
test byte [eax], 1
mov eax, dword [eax + 9]
je 0x41df51
lea ecx, [eax + 0xe]
movzx eax, byte [eax + 0xd]
jmp 0x41df58
lea ecx, [eax + 5]
movzx eax, byte [eax + 4]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call fcn.004750f0
add esp, 0x10
cmp eax, dword [esp + 0x30]
jl 0x41df84
cmp eax, dword [esp + 0x10]
je 0x41e429
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + edi*4]
add esi, 1
add ebp, 1
cmp esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
jge 0x41dfa4
mov edx, dword [eax + 8]
lea ecx, [edx + esi*4 + 0x14]
mov eax, dword [ecx + eax]
jmp 0x41dfbc
add edi, 1
cmp edi, dword [ebx + 4]
jge 0x41dfc0
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + ecx + 0x14]
xor esi, esi
mov dword [esp + 0x1c], esi
test eax, eax
jne 0x41df40
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
xor ecx, ecx
sub eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x20], ecx
js 0x41e179
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edi, dword [edx + esi*4]
mov eax, dword [edi + 8]
mov ebp, dword [eax + edi + 0x14]
movzx eax, byte [ebp + 0xd]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push eax
lea ebx, [ebp + 0xe]
push ebx
push ecx
push edx
call fcn.00403d40
mov edi, dword [edi + 0x10]
add esp, 0x10
cmp edi, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
jl 0x41e083
movzx eax, byte [ebp + 0xd]
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
push ecx
call fcn.004750f0
add esp, 0x10
cmp eax, dword [esp + 0x20]
jl 0x41e063
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x41e074
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x41e08e
mov dword [esp + 0x74], esi
jne 0x41e087
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x41e08e
mov dword [esp + 0x74], esi
add esi, 1
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], edx
jle 0x41dfe6
cmp dword [esp + 0x74], 0xffffffff
je 0x41e179
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [esp + 0x74]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0xc]
xor ebp, ebp
sub ecx, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
lea edx, [ecx + eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], eax
js 0x41e179
jmp 0x41e0e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov esi, eax
sar esi, 1
add esi, ebp
mov edi, dword [ecx + esi*4]
movzx eax, byte [edi + 0xd]
push eax
mov eax, dword [esp + 0x58]
lea ebx, [edi + 0xe]
push ebx
push edx
push eax
call fcn.00403d40
mov ecx, dword [esp + 0x2c]
lea edx, [esi + ecx]
add esp, 0x10
cmp edx, dword [esp + 0x78]
mov dword [esp + 0x24], eax
jl 0x41e16c
movzx eax, byte [edi + 0xd]
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
push ecx
call fcn.004750f0
add esp, 0x10
cmp eax, dword [esp + 0x20]
jl 0x41e150
mov edx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x41e161
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x41e16f
jne 0x41e16c
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x41e16f
lea ebp, [esi + 1]
cmp ebp, dword [esp + 0x14]
jle 0x41e0e0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x10]
je 0x41e45d
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x18]
xor ecx, ecx
sub eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x28], ecx
js 0x41e34c
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x70]
sar esi, 1
add esi, ecx
mov ecx, dword [eax + 0x14]
mov edi, dword [ecx + esi*4]
mov edx, dword [edi + 8]
mov ebp, dword [edx + edi + 0x14]
movzx eax, byte [ebp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push eax
lea ebx, [ebp + 5]
push ebx
push ecx
push edx
call fcn.00403d40
mov edi, dword [edi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
add edi, dword [eax + 0x3c]
add esp, 0x10
cmp edi, dword [esp + 0x78]
mov dword [esp + 0x1c], edi
jl 0x41e258
movzx ecx, byte [ebp + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
push ecx
push ebx
push edx
push eax
call fcn.004750f0
add esp, 0x10
cmp eax, dword [esp + 0x28]
jl 0x41e238
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x41e249
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x41e263
mov dword [esp + 0x74], esi
jne 0x41e25c
add esi, 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x41e263
mov dword [esp + 0x74], esi
add esi, 1
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x18], ecx
jle 0x41e1b0
cmp dword [esp + 0x74], 0xffffffff
je 0x41e34c
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x14]
mov eax, dword [esp + 0x74]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea edx, [edx + eax + 0x14]
mov eax, dword [eax + 0x10]
add eax, dword [ecx + 0x3c]
sub ebp, 1
test ebp, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], eax
jl 0x41e34c
mov ecx, dword [esp + 0x18]
mov eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x34]
sar esi, 1
add esi, ecx
mov edi, dword [eax + esi*4]
movzx ecx, byte [edi + 4]
mov eax, dword [esp + 0x54]
push ecx
lea ebx, [edi + 5]
push ebx
push edx
push eax
call fcn.00403d40
mov ecx, dword [esp + 0x2c]
lea edx, [esi + ecx]
add esp, 0x10
cmp edx, dword [esp + 0x78]
mov dword [esp + 0x24], eax
jl 0x41e33b
movzx eax, byte [edi + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
push eax
push ebx
push ecx
push edx
call fcn.004750f0
add esp, 0x10
cmp eax, dword [esp + 0x28]
jl 0x41e327
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x41e334
lea ebp, [esi - 1]
jmp 0x41e342
jne 0x41e33b
lea ebp, [esi - 1]
jmp 0x41e342
add esi, 1
mov dword [esp + 0x18], esi
cmp dword [esp + 0x18], ebp
jle 0x41e2b5
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 0x48]
cmp ecx, 3
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
jne 0x41e3ac
cmp edx, esi
jl 0x41e3ac
cmp edx, eax
jl 0x41e3ac
cmp edx, dword [esp + 0x10]
jne 0x41e40b
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.00476730
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.00476730
mov eax, dword [esp + 0x48]
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp ecx, 4
mov ecx, dword [esp + 0x30]
jne 0x41e3f9
cmp ecx, esi
jl 0x41e3f9
cmp ecx, eax
jl 0x41e3f9
cmp ecx, dword [esp + 0x10]
jne 0x41e40b
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.00476730
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.00476730
mov eax, dword [esp + 0x4c]
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp eax, esi
jl 0x41e405
cmp eax, edx
jl 0x41e405
cmp eax, ecx
jge 0x41e40b
cmp esi, dword [esp + 0x10]
je 0x41e476
cmp dword [esp + 0x78], 0
je 0x41e4c1
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x78], 0
xor edi, edi
jmp 0x41de3b
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.00476730
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.00476730
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
mov ecx, dword [ecx + edx*4]
mov esi, dword [ecx + 0x10]
add esi, dword [eax + 0x44]
add esi, dword [esp + 0x3c]
jmp 0x41e48d
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0x40]
mov ecx, dword [edx + eax*4]
mov esi, dword [ecx + 0x10]
add esi, dword [edi + 0x44]
add esi, dword [edi + 0x3c]
add esi, dword [esp + 0x44]
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.00476730
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.00476730
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0
call fcn.00476730
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x60]
pop ebp
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret