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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ad770
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4e52d0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
call fcn.00421570
lea esi, [esp + 0x34]
call fcn.0041abd0
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov ecx, 0x4bb300
mov dword [esp + 0x74], ebx
call fcn.00402120
mov byte [esp + 0x70], 1
mov ecx, dword [0x4eb380]
mov eax, dword [ecx + 0x2c]
cmp eax, 4
jle 0x42103b
dec eax
mov dword [esp + 0x14], eax
cmp eax, 3
jle 0x421026
mov ebx, eax
lea edi, [ebx + ebx*2]
shl edi, 4
inc ebx
mov esi, dword [0x4eb380]
cmp ebx, eax
jb 0x421031
cmp ebx, 1
jb 0x421031
mov eax, dword [esi + 0x2c]
cmp ebx, eax
ja 0x421031
sub eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x28]
add eax, edi
call fcn.0041ac80
cmp dword [esp + 0x28], 0
jbe 0x42100c
mov eax, dword [esi + 0x28]
lea ecx, [eax + edi + 0x30]
lea edx, [eax + edi]
mov eax, dword [esp + 0x28]
call fcn.0041dca0
mov eax, dword [esp + 0x14]
dec dword [esi + 0x2c]
dec eax
dec ebx
sub edi, 0x30
mov dword [esp + 0x14], eax
cmp eax, 3
jg 0x420fcc
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, 4
mov dword [esp + 0x2c], esi
jmp 0x421041
push 0x80070057
call fcn.00402bc0
mov esi, eax
mov dword [esp + 0x2c], eax
lea eax, [esi - 1]
cmp eax, 3
ja case.default.0x42104d
jmp dword [eax*4 + 0x421560]
mov edx, dword [edi + 0x70]
mov eax, dword [edx + 0x3c]
lea ecx, [edi + 0x70]
push 0x4fcde71
call eax
mov dword [esp + 0x24], 0x3e8
jmp 0x4210a0
mov edx, dword [edi + 0x70]
mov eax, dword [edx + 0x3c]
lea ecx, [edi + 0x70]
push 0x4fcde72
call eax
mov dword [esp + 0x24], 0x44c
jmp 0x4210a0
mov edx, dword [edi + 0x70]
mov eax, dword [edx + 0x3c]
lea ecx, [edi + 0x70]
push 0x4fcde73
call eax
mov dword [esp + 0x24], 0x4b0
mov dword [esp + 0x20], eax
cmp eax, ebx
je case.default.0x42104d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
push 1
call eax
mov dword [esp + 0x1c], ebx
cmp esi, ebx
jle case.default.0x42104d
mov dword [esp + 0x28], ebx
jmp 0x4210d0
mov eax, dword [0x4eb380]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x2c]
jae 0x421031
mov edi, dword [eax + 0x28]
add edi, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], edx
cmp eax, esi
je 0x42114d
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42113f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42113f
call fcn.004046f0
mov dword [esp + 0x30], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x421132
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
add ecx, 0x10
mov dword [esp + 0x38], ecx
jmp 0x42114d
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00402030
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0x3c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4211a7
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x421199
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x421199
call fcn.004046f0
mov dword [esp + 0x30], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42118c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
add ecx, 0x10
mov dword [esp + 0x3c], ecx
jmp 0x4211a7
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00402030
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x40]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x421201
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4211f3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4211f3
call fcn.004046f0
mov dword [esp + 0x30], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4211e6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
add ecx, 0x10
mov dword [esp + 0x40], ecx
jmp 0x421201
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00402030
mov ecx, dword [edi + 0x10]
mov esi, dword [esp + 0x44]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x421259
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42124b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42124b
call fcn.004046f0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42123e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x14]
jmp 0x421259
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x48]
push ecx
call fcn.00402030
mov ecx, dword [edi + 0x14]
mov esi, dword [esp + 0x48]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4212b1
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4212a3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4212a3
call fcn.004046f0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x421296
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x14]
jmp 0x4212b1
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x4c]
push ecx
call fcn.00402030
mov ecx, dword [edi + 0x18]
mov esi, dword [esp + 0x4c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x421309
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4212fb
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4212fb
call fcn.004046f0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4212ee
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x14]
jmp 0x421309
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x50]
push ecx
call fcn.00402030
mov ecx, dword [edi + 0x1c]
mov esi, dword [esp + 0x50]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x421361
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x421353
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x421353
call fcn.004046f0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x421346
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x14]
jmp 0x421361
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x54]
push ecx
call fcn.00402030
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov esi, dword [esp + 0x5c]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x58], eax
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x54], edx
cmp eax, esi
je 0x4213c7
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4213b9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4213b9
call fcn.004046f0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4213ac
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x14]
jmp 0x4213c7
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x60]
push ecx
call fcn.00402030
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
mov dl, byte [edi + 0x2c]
add eax, 0xfffffff0
add esi, 0xfffffff0
mov byte [esp + 0x60], dl
cmp eax, esi
je 0x421427
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x421415
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x421415
call fcn.004046f0
mov edi, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x42140c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0x10
mov dword [esp + 0x18], edi
jmp 0x421427
mov eax, dword [esp + 0x40]
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402030
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edx, dword [ecx + 0x70]
add esi, dword [esp + 0x24]
mov edx, dword [edx + 0x3c]
add ecx, 0x70
push esi
call edx
mov esi, eax
test esi, esi
je 0x4214fc
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 1
mov ecx, esi
call edx
mov edx, dword [esp + 0x18]
lea ebx, [esi + 0x78]
test edx, edx
jne 0x421463
xor eax, eax
jmp 0x42147f
mov eax, edx
lea edi, [eax + 2]
jmp 0x421470
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421470
sub eax, edi
sar eax, 1
push edx
push ebx
mov ebx, eax
call fcn.00402030
cmp byte [esi + 0x24], 0
je 0x4214c0
cmp byte [esi + 0x25], 0
je 0x4214c0
cmp byte [esi + 0x26], 0
je 0x4214c0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4214c0
mov eax, dword [esi + 4]
test eax, eax
je 0x4214c0
cmp byte [eax + 0xab], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
sete al
movzx eax, al
push 0
push eax
push esi
call edx
cmp byte [esi + 0x24], 0
mov byte [esi + 0x74], 1
je 0x4214fc
cmp byte [esi + 0x25], 0
je 0x4214fc
cmp byte [esi + 0x26], 0
je 0x4214fc
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4214fc
mov eax, dword [esi + 4]
test eax, eax
je 0x4214fc
cmp byte [eax + 0xab], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
sete al
movzx eax, al
push 0
push eax
push esi
call edx
mov eax, dword [esp + 0x1c]
add dword [esp + 0x28], 0x30
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x2c]
jl 0x4210d0
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x34]
mov dword [esp + 0x70], 0xffffffff
call fcn.0041ac80
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4