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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47c40e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49cff4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x8c]
mov dword [esp + 0x38], eax
mov edi, ecx
mov ecx, edi
call fcn.0042c050
test al, al
je 0x421432
mov ecx, edi
call fcn.0042c030
cmp al, 0x20
je 0x421196
cmp al, 9
jne 0x421432
cmp dword [edi + 0xe4], 0
jne case.default.0x42121a
test byte [0x4a08a8], 1
jne 0x4211e2
or dword [0x4a08a8], 1
push 9
mov ecx, 0x4a0888
mov dword [esp + 0xb4], 0
call fcn.0042cec0
push 0x483c40
call fcn.004547ff
add esp, 4
mov dword [esp + 0xb0], 0xffffffff
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x3c], ecx
ja 0x42120b
push ecx
mov ecx, edi
call fcn.0042c6d0
test al, al
je case.default.0x42121a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4a0888]
cmp edx, 6
ja case.default.0x42121a
jmp dword [edx*4 + 0x421868]
mov esi, dword [eax + 0x38]
lea edi, [eax + 0x20]
mov ebx, ecx
mov ecx, dword [edi + 0x1c]
add ecx, esi
cmp esi, ecx
jbe 0x421237
call fcn.0044d3a6
mov edi, dword [edi]
mov ebp, edi
mov dword [esp + 0x34], esi
test edi, edi
jne 0x421260
call fcn.0044d3a6
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
add esi, ebx
cmp esi, edx
ja 0x42126d
test edi, edi
je 0x421266
mov edi, dword [edi]
jmp 0x421268
mov eax, dword [edi]
mov ecx, eax
jmp 0x42124c
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x421272
call fcn.0044d3a6
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
call fcn.0041bd50
mov al, byte [eax]
xor ecx, ecx
cmp al, 4
sete cl
dec ecx
mov eax, ecx
jmp 0x42140a
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov ebx, ecx
cmp esi, edx
jbe 0x4212aa
call fcn.0044d3a6
mov edi, dword [edi]
mov ebp, edi
mov dword [esp + 0x34], esi
test edi, edi
jne 0x4212d3
call fcn.0044d3a6
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x4212e0
test edi, edi
je 0x4212d9
mov edi, dword [edi]
jmp 0x4212db
mov eax, dword [edi]
mov ecx, eax
jmp 0x4212bf
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x4212e5
call fcn.0044d3a6
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
call fcn.0041bd50
mov al, byte [eax]
xor edx, edx
cmp al, byte [0x4a088c]
sete dl
lea edx, [edx + edx - 1]
mov eax, edx
jmp 0x42140a
mov esi, dword [eax + 0x38]
lea edi, [eax + 0x20]
mov eax, dword [edi + 0x1c]
add eax, esi
mov ebx, ecx
cmp esi, eax
jbe 0x421324
call fcn.0044d3a6
mov edi, dword [edi]
mov ebp, edi
mov dword [esp + 0x34], esi
test edi, edi
jne 0x42134d
call fcn.0044d3a6
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x42135a
test edi, edi
je 0x421353
mov edi, dword [edi]
jmp 0x421355
mov eax, dword [edi]
mov ecx, eax
jmp 0x421339
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x42135f
call fcn.0044d3a6
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], esi
call fcn.0041bd50
mov al, byte [eax]
cmp byte [0x4a088c], al
jg 0x4213d0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
add ecx, 0x20
call fcn.0041e6c0
mov al, byte [eax]
cmp byte [0x4a088d], al
jl 0x4213d0
mov eax, 1
jmp 0x42140a
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4a0888
call fcn.0041ce80
jmp 0x42140a
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x4a0888
call fcn.0041cee0
jmp 0x42140a
mov eax, dword [0x4a08a0]
sub eax, dword [0x4a089c]
sar eax, 5
test eax, eax
jne 0x4213d5
or eax, 0xffffffff
jmp 0x42140a
ja 0x4213dc
call fcn.0044d3a6
mov ecx, dword [0x4a089c]
lea edx, [esp + 0x18]
push edx
call fcn.00420240
xor ecx, ecx
test eax, eax
setl cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x42140a
lea edx, [esp + 0x18]
push edx
mov ecx, 0x4a0888
call fcn.004206b0
test eax, eax
jl case.default.0x42121a
mov eax, dword [esp + 0x14]
mov byte [eax + 0x6e], 0
mov edi, dword [esp + 0x14]
push 1
mov ecx, edi
call fcn.0042ca90
mov ecx, edi
call fcn.0042c050
test al, al
jne 0x421183
lea ecx, [esp + 0x84]
push ecx
call fcn.00421090
add esp, 4
mov esi, eax
xor ecx, ecx
mov eax, edi
xor ebp, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xb0], 1
cmp dword [edi + 0x3c], ebp
ja 0x42147a
push ebp
mov ecx, edi
call fcn.0042c6d0
test al, al
je case.default.0x421481
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
cmp edx, 6
ja case.default.0x421481
jmp dword [edx*4 + 0x421884]
push ecx
lea ecx, [eax + 0x20]
call fcn.0041e6c0
mov al, byte [eax]
xor edx, edx
cmp al, 4
sete dl
dec edx
mov eax, edx
jmp 0x421503
push ecx
lea ecx, [eax + 0x20]
call fcn.0041e6c0
mov al, byte [eax]
xor ecx, ecx
cmp al, byte [esi + 4]
sete cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x421503
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0041ef60
jmp 0x421503
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0041ce80
jmp 0x421503
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0041cee0
jmp 0x421503
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0041cf50
jmp 0x421503
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.004206b0
jmp 0x421503
or eax, 0xffffffff
cmp eax, ebp
setge bl
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb0], 2
cmp eax, ebp
je 0x421549
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x98]
push edx
push ecx
push eax
call fcn.004202d0
mov edx, dword [esp + 0xa8]
push edx
call fcn.0044cdf6
add esp, 0x14
mov eax, dword [esp + 0x8c]
push eax
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xb4], 0xffffffff
call fcn.0044cdf6
add esp, 4
test bl, bl
je 0x4217df
mov ecx, edi
call fcn.0042c050
test al, al
je 0x4217df
call fcn.0041f060
mov esi, dword [esp + 0x14]
mov ebp, eax
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
cmp dword [esi + 0x3c], ecx
ja 0x4215c4
push ecx
mov ecx, esi
call fcn.0042c6d0
test al, al
je case.default.0x4215d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
cmp edx, 6
ja case.default.0x4215d0
jmp dword [edx*4 + 0x4218a0]
mov esi, dword [eax + 0x38]
lea edi, [eax + 0x20]
mov ebp, ecx
mov ecx, dword [edi + 0x1c]
add ecx, esi
cmp esi, ecx
jbe 0x4215ed
call fcn.0044d3a6
mov edi, dword [edi]
mov ebx, edi
mov dword [esp + 0x34], esi
test edi, edi
jne 0x421616
call fcn.0044d3a6
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
add esi, ebp
cmp esi, edx
ja 0x421623
test edi, edi
je 0x42161c
mov edi, dword [edi]
jmp 0x42161e
mov eax, dword [edi]
mov ecx, eax
jmp 0x421602
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x421628
call fcn.0044d3a6
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
call fcn.0041bd50
xor ecx, ecx
cmp byte [eax], 4
sete cl
dec ecx
mov eax, ecx
jmp 0x4217bf
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov ebx, ecx
cmp esi, edx
jbe 0x42165f
call fcn.0044d3a6
mov edi, dword [edi]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
test edi, edi
jne 0x42168a
call fcn.0044d3a6
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x421697
test edi, edi
je 0x421690
mov edi, dword [edi]
jmp 0x421692
mov eax, dword [edi]
mov ecx, eax
jmp 0x421676
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x42169c
call fcn.0044d3a6
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], esi
call fcn.0041bd50
mov al, byte [eax]
xor ecx, ecx
cmp al, byte [ebp + 4]
sete cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x4217bf
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
lea edi, [eax + 0x20]
add edx, esi
mov ebx, ecx
cmp esi, edx
jbe 0x4216df
call fcn.0044d3a6
mov edi, dword [edi]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
test edi, edi
jne 0x42170a
call fcn.0044d3a6
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
add esi, ebx
cmp esi, ecx
ja 0x421717
test edi, edi
je 0x421710
mov edi, dword [edi]
jmp 0x421712
mov eax, dword [edi]
mov ecx, eax
jmp 0x4216f6
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x42171c
call fcn.0044d3a6
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
call fcn.0041bd50
mov al, byte [eax]
cmp byte [ebp + 4], al
jg 0x421780
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
add ecx, 0x20
call fcn.0041e6c0
mov al, byte [eax]
cmp byte [ebp + 5], al
jl 0x421780
mov eax, 1
jmp 0x4217bf
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.0041ce80
jmp 0x4217bf
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.0041cee0
jmp 0x4217bf
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
test eax, 0xffffffe0
jne 0x421785
or eax, 0xffffffff
jmp 0x4217bf
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x14]
sar ecx, 5
test ecx, ecx
ja 0x421797
call fcn.0044d3a6
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x20]
push edx
call fcn.00420240
xor ecx, ecx
test eax, eax
setl cl
lea ecx, [ecx + ecx - 1]
mov eax, ecx
jmp 0x4217bf
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.004206b0
test eax, eax
jge 0x4217df
mov esi, dword [esp + 0x14]
push 1
mov ecx, esi
call fcn.0042ca90
mov ecx, esi
call fcn.0042c050
test al, al
jne 0x421590
mov edi, dword [esp + 0x14]
push edi
call fcn.0041f060
mov ecx, eax
call fcn.004209a0
test al, al
je 0x421850
call fcn.0041f060
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], edi
cmp dword [edi + 0x3c], 0
mov esi, eax
ja 0x42181a
push 0
mov ecx, edi
call fcn.0042c6d0
test al, al
je 0x421828
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.00420240
jmp 0x42182b
or eax, 0xffffffff
push eax
mov ecx, edi
call fcn.0042ca90
mov ecx, edi
call fcn.0042e670
cmp dword [edi + 0xe4], 0
jne 0x421174
mov byte [edi + 0x6e], 1
jmp 0x421174
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret