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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x238
mov esi, esp
mov dword [esi + 0x220], ebp
xor eax, eax
lea ebx, [esi + 0x228]
lea edi, [esi + 0x90]
dec eax
mov dword [ebx - 4], esp
mov dword [ebx + 8], eax
mov dword [ebx + 4], 0x425be0
mov eax, dword fs:[0]
mov dword [ebx], eax
mov eax, 0x190
mov dword fs:[0], ebx
push eax
push 0xff
push edi
call fcn.0047b380
add esp, 0xc
mov eax, 0x190
mov dword [esi + 0x48], edi
mov dword [esi + 0x14], edi
lea edx, [esi + 0x54]
mov dword [ebx + 8], 1
lea ebx, [esi + 0x78]
mov dword [esi + 0x4c], fcn.0040d920
add edi, eax
xor ecx, ecx
mov al, 0xff
dec ecx
mov dword [esi + 0x5c], edi
lea edi, [esi + 0x18]
mov dword [edx], ecx
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x13]
lea edx, [esi + 0x38]
mov byte [ecx], al
lea ecx, [esi + 0x12]
mov byte [ecx], al
xor eax, eax
lea ecx, [esi + 0x28]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx + 8], eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
movzx eax, byte [ebp + 0x10]
mov dword [esi + 4], eax
lea eax, [esi + 0x54]
push eax
push ecx
push edx
push edi
push ebx
lea ecx, [esi + 0x12]
push ecx
lea ecx, [esi + 0x13]
push ecx
lea eax, [esi + 0x58]
push eax
push dword [ebp + 0x14]
push dword [esi + 4]
call fcn.0041d61a
add esp, 0x28
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
xor edx, edx
mov eax, dword [eax]
mov dword [ecx], eax
xor ecx, ecx
cmp edx, 3
mov dword [esi + 8], ecx
ja 0x41d16d
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
mov dword [esi + 0x70], edx
mov dword [esi + 0x230], 1
push eax
call fcn.004108a4
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x70]
test al, al
jne 0x41d16d
movsx eax, byte [esi + edx + 0x58]
cmp eax, 4
ja case.default.0x41ca6a
jmp dword [eax*4 + 0x41d35c]
cmp edx, 3
jne 0x41ce29
jmp 0x41d0ff
cmp edx, 3
je case.default.0x41ca6a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41cdc7
movzx eax, byte [eax]
jmp 0x41cdcc
test ecx, ecx
jne 0x41cc96
cmp edx, 2
jb 0x41cc96
sete cl
cmp byte [esi + 0x5b], 0
setne dl
bt dword [ebp + 0x18], 9
jb 0x41cacd
xor eax, eax
and cl, dl
je 0x41d162
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
lea edi, [esi + 0x18]
mov edx, ecx
shr dl, 7
test cl, cl
cmovs edi, eax
mov dword [esi + 4], edi
jmp 0x41ccb4
movzx edx, byte [esi + 0x43]
test dl, dl
mov eax, edx
jns 0x41caf5
mov eax, dword [esi + 0x3c]
movzx ebx, byte [esi + 0x33]
test bl, bl
mov ecx, ebx
jns 0x41cb02
mov ecx, dword [esi + 0x2c]
mov edi, eax
add edi, ecx
je 0x41d0ff
test eax, eax
je 0x41cdff
mov eax, dword [ebp + 8]
test ecx, ecx
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
je 0x41ceef
cmp edi, eax
je 0x41ceff
movzx ebx, byte [edi]
mov dword [esi + 0xc], eax
mov dword [esi + 4], ebx
jmp 0x41cf18
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004108a4
test al, al
jne 0x41cc31
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41cb6a
movzx ebx, byte [eax]
jmp 0x41cb71
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, eax
test bl, bl
js 0x41cb84
mov ecx, dword [ebp + 0x24]
movzx eax, bl
mov ecx, dword [ecx + 8]
test byte [ecx + eax*2], 4
jne 0x41cbe0
movzx eax, byte [esi + 0x83]
test al, al
jns 0x41cb92
mov eax, dword [esi + 0x7c]
cmp byte [esi + 0x12], bl
jne 0x41cc31
cmp dword [esi + 4], 0
je 0x41cc31
test eax, eax
je 0x41cc31
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x5c]
jne 0x41cbcc
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.0041d834
add esp, 0xc
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 4]
lea ecx, [eax + 4]
mov dword [esi + 4], 0
mov dword [esi + 0x14], ecx
mov dword [eax], edx
jmp 0x41cc11
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
jne 0x41cc05
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
mov dword [esi + 0xc], ebx
call fcn.0041d7bf
mov ebx, dword [esi + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
inc dword [esi + 4]
mov edx, ecx
lea ecx, [eax + 1]
mov dword [edx], ecx
mov byte [eax], bl
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41cc27
inc eax
mov dword [ecx + 0xc], eax
jmp 0x41cb44
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41cb44
cmp dword [esi + 4], 0
je 0x41cc66
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x48], eax
je 0x41cc66
cmp eax, dword [esi + 0x5c]
jne 0x41cc5b
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.0041d834
add esp, 0xc
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 4]
lea ecx, [eax + 4]
mov dword [esi + 0x14], ecx
mov dword [eax], edx
cmp dword [esi + 0x54], 0
jle 0x41cda5
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004108a4
test al, al
jne 0x41d225
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ccd5
movzx eax, byte [eax]
jmp 0x41ccda
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
lea edi, [esi + 0x18]
test cl, cl
cmovs edi, eax
test edx, edx
je 0x41d062
mov edx, ecx
mov dword [esi + 4], edi
shr dl, 7
mov edi, dword [esi + 0x70]
lea ebx, [esi + 0x58]
cmp byte [edi + ebx - 1], 1
ja 0x41d05f
test dl, dl
je 0x41ce9a
mov edi, dword [esi + 0x1c]
jmp 0x41ce9d
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp byte [esi + 0x13], al
jne 0x41d225
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41cdbd
inc eax
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x54], 0
jle 0x41cda5
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004108a4
test al, al
jne 0x41d225
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41cd28
movzx eax, byte [eax]
jmp 0x41cd2d
mov eax, dword [ecx]
call dword [eax + 0x20]
test al, al
js 0x41d225
mov ecx, dword [ebp + 0x24]
movzx eax, al
mov ecx, dword [ecx + 8]
test byte [ecx + eax*2], 4
je 0x41d225
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x41cd64
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.0041d7bf
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41cd76
movzx eax, byte [eax]
jmp 0x41cd7b
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [ebp + 0x2c]
mov ecx, dword [edi]
lea edx, [ecx + 1]
mov dword [edi], edx
mov byte [ecx], al
mov eax, dword [ebp + 8]
dec dword [esi + 0x54]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x41ccf4
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41ccf8
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
mov eax, dword [eax]
cmp eax, dword [ecx]
mov eax, dword [esi + 8]
jne 0x41d162
jmp 0x41d225
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41ccf8
mov eax, dword [ecx]
call dword [eax + 0x20]
test al, al
js 0x41d225
mov ecx, dword [ebp + 0x24]
movzx eax, al
mov ecx, dword [ecx + 8]
test byte [ecx + eax*2], 8
je 0x41d225
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ce18
lea edx, [eax + 1]
mov dword [ecx + 0xc], edx
movzx eax, byte [eax]
jmp 0x41ce1d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41cf45
movzx eax, byte [eax]
jmp 0x41cf4d
mov eax, dword [ecx]
call dword [eax + 0x24]
movsx eax, al
lea ecx, [esi + 0x60]
push eax
call fcn.0042657c
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004108a4
test al, al
jne 0x41d0ff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ce4f
movzx eax, byte [eax]
jmp 0x41ce54
mov eax, dword [ecx]
call dword [eax + 0x20]
test al, al
js 0x41d0ff
mov ecx, dword [ebp + 0x24]
movzx eax, al
mov ecx, dword [ecx + 8]
test byte [ecx + eax*2], 8
je 0x41d0ff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41ce87
lea edx, [eax + 1]
mov dword [ecx + 0xc], edx
movzx eax, byte [eax]
jmp 0x41ce8c
mov eax, dword [ecx]
call dword [eax + 0x24]
movsx eax, al
lea ecx, [esi + 0x60]
push eax
call fcn.0042657c
jmp 0x41ce29
movzx edi, cl
mov edx, dword [esi + 4]
test edi, edi
je 0x41cff4
mov edx, dword [esi + 4]
mov ch, byte [edx]
test ch, ch
js 0x41cff4
mov edx, dword [ebp + 0x24]
mov ebx, dword [esi + 4]
mov edx, dword [edx + 8]
add edi, ebx
mov dword [esi + 0x50], edi
mov dword [esi + 0xc], edx
mov edx, ebx
mov edi, dword [esi + 0xc]
movzx ebx, ch
test byte [edi + ebx*2], 8
mov edi, dword [esi + 0x50]
je 0x41cff4
inc edx
cmp edi, edx
je 0x41cff2
mov ch, byte [edx]
test ch, ch
jns 0x41cec8
jmp 0x41cff4
cmp edi, eax
je 0x41cf79
movzx eax, byte [edi]
jmp 0x41cf81
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dl, byte [esi + 0x43]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
test dl, dl
lea ebx, [esi + 0x38]
jns 0x41cf22
mov ebx, dword [esi + 0x38]
mov eax, dword [esi + 4]
cmp byte [ebx], al
jne 0x41cf3b
cmp edi, dword [esi + 0xc]
je 0x41cfb4
inc edi
mov dword [ecx + 0xc], edi
jmp 0x41d148
cmp edi, dword [esi + 0xc]
je 0x41cfbe
movzx eax, byte [edi]
jmp 0x41cfc3
mov eax, dword [ecx]
call dword [eax + 0x20]
mov bl, byte [esi + 0x33]
test bl, bl
lea ecx, [esi + 0x28]
jns 0x41cf57
mov ecx, dword [esi + 0x28]
cmp byte [ecx], al
jne 0x41d0ff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d11b
inc eax
mov dword [ecx + 0xc], eax
jmp 0x41d123
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x43]
test dl, dl
lea ecx, [esi + 0x38]
jns 0x41cf8b
mov ecx, dword [esi + 0x38]
cmp byte [ecx], al
jne 0x41cfa9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d140
inc eax
mov dword [ecx + 0xc], eax
jmp 0x41d148
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x41d0ff
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41d145
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test dl, dl
jns 0x41cfd0
mov ecx, dword [esi + 0x28]
cmp byte [ecx], al
jne 0x41d225
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d104
inc eax
mov dword [ecx + 0xc], eax
jmp 0x41d10c
mov edx, edi
mov edi, dword [esi + 4]
mov ebx, edx
mov ch, byte [esi + 0x6b]
sub ebx, edi
test ch, ch
mov dword [esi + 0x50], ebx
mov ebx, dword [esi + 0x64]
mov dword [esi + 0xc], ebx
movzx ebx, ch
mov dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmovs ebx, dword [esi + 0xc]
cmp dword [esi + 0x50], ebx
mov dword [esi + 0x88], ebx
ja 0x41d062
mov ebx, dword [esi + 0x74]
mov edi, dword [esi + 0x60]
add dword [esi + 0xc], edi
test ch, ch
lea ebx, [esi + ebx + 0x60]
cmovs ebx, dword [esi + 0xc]
mov dword [esi + 0xc], ebx
lea ebx, [esi + 0x60]
cmovns edi, ebx
add edi, dword [esi + 0x88]
sub edi, dword [esi + 0x50]
cmp edi, dword [esi + 0xc]
je 0x41d05b
mov ebx, dword [esi + 4]
mov ch, byte [edi]
cmp ch, byte [ebx]
jne 0x41d05f
inc edi
inc ebx
cmp edi, dword [esi + 0xc]
jne 0x41d04e
mov edi, edx
jmp 0x41d062
mov edi, dword [esi + 4]
test cl, cl
jns 0x41d06b
mov ecx, dword [esi + 0x1c]
jmp 0x41d071
movzx ecx, cl
lea eax, [esi + 0x18]
add eax, ecx
cmp edi, eax
je 0x41d0d9
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
mov dword [esi + 0x230], 1
push eax
mov dword [esi + 4], edi
call fcn.004108a4
mov edi, dword [esi + 4]
test al, al
jne 0x41d0d9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d0a9
movzx eax, byte [eax]
jmp 0x41d0b1
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 4]
cmp byte [edi], al
jne 0x41d0d9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d0c8
inc eax
mov dword [ecx + 0xc], eax
jmp 0x41d0d0
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edi, dword [esi + 4]
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
inc edi
jmp 0x41d062
bt dword [ebp + 0x18], 9
jae 0x41d0ff
movzx eax, byte [esi + 0x23]
lea ecx, [esi + 0x18]
test al, al
jns 0x41d0f1
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 8]
cmp edi, ecx
je 0x41d162
jmp 0x41d225
mov eax, dword [esi + 8]
jmp 0x41d162
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x33]
mov eax, dword [ebp + 0x20]
test dl, dl
mov byte [eax], 1
js 0x41d12d
movzx eax, dl
jmp 0x41d135
mov eax, dword [ecx]
call dword [eax + 0x24]
mov bl, byte [esi + 0x33]
mov eax, dword [ebp + 0x20]
test bl, bl
mov byte [eax], 1
jns 0x41d132
mov eax, dword [esi + 0x2c]
jmp 0x41d135
movzx eax, bl
mov ecx, dword [esi + 8]
cmp eax, 1
lea eax, [esi + 0x28]
jmp 0x41d15d
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x43]
test dl, dl
jns 0x41d151
mov eax, dword [esi + 0x3c]
jmp 0x41d154
movzx eax, dl
mov ecx, dword [esi + 8]
cmp eax, 1
lea eax, [esi + 0x38]
cmova ecx, eax
mov eax, ecx
mov edx, dword [esi + 0x70]
mov ecx, eax
inc edx
jmp 0x41ca29
test ecx, ecx
je 0x41d1f8
xor edx, edx
inc edx
mov ecx, dword [esi + 8]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x41d186
mov eax, dword [ecx + 4]
cmp edx, eax
jae 0x41d1f8
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
mov dword [esi + 0x230], 1
push eax
mov dword [esi + 4], edx
call fcn.004108a4
mov edx, dword [esi + 4]
test al, al
jne 0x41d225
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d1bc
movzx eax, byte [eax]
jmp 0x41d1c4
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xb], 0
jns 0x41d1d2
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
cmp byte [ecx + edx], al
jne 0x41d225
mov eax, dword [ebp + 8]
inc edx
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d1eb
inc eax
mov dword [ecx + 0xc], eax
jmp 0x41d178
mov eax, dword [ecx]
mov dword [esi + 4], edx
call dword [eax + 0x24]
mov edx, dword [esi + 4]
jmp 0x41d178
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x14]
mov bl, 1
cmp eax, ecx
je 0x41d22d
lea ebx, [esi + 0x8c]
xor edi, edi
mov dword [ebx], edi
push ebx
push ecx
push eax
lea eax, [esi + 0x78]
push eax
call fcn.0041d8b2
add esp, 0x10
cmp dword [ebx], edi
je 0x41d2be
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
or byte [eax], 4
cmp byte [esi + 0x6b], 0
jns 0x41d23e
push dword [esi + 0x60]
call fcn.00477190
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x41d24f
push dword [esi + 0x28]
call fcn.00477190
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x41d260
push dword [esi + 0x38]
call fcn.00477190
add esp, 4
cmp byte [esi + 0x23], 0
jns 0x41d271
push dword [esi + 0x18]
call fcn.00477190
add esp, 4
cmp byte [esi + 0x83], 0
jns 0x41d285
push dword [esi + 0x78]
call fcn.00477190
add esp, 4
mov eax, dword [esi + 0x48]
xor ecx, ecx
mov dword [esi + 0x48], ecx
test eax, eax
je 0x41d2a8
mov dword [esi + 0x230], 0
push eax
mov dword [esi + 4], ebx
call dword [esi + 0x4c]
mov ebx, dword [esi + 4]
add esp, 4
mov eax, dword [esi + 0x228]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x41d22d