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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 0x14]
push esi
xor esi, esi
mov dword [esp + 0x20], eax
mov eax, 1
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], esi
cmp ebx, esi
je 0x420162
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
lea edi, [ebx + 8]
sar eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x60]
push ecx
mov dword [esp + 0x1c], edi
call fcn.00428ef0
mov edx, dword [eax]
mov ecx, dword [ebx + 8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
add dword [ebx + 8], 0x10
add esp, 4
cmp dword [ecx + 8], 0
jne 0x4200e3
mov edx, dword [edi]
mov dword [edx + 8], 0
add dword [edi], 0x10
jmp 0x420349
mov ebx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x60]
mov eax, ecx
mov eax, dword [eax + 0xc]
push eax
call fcn.00428ef0
mov edx, dword [eax]
mov ecx, dword [edi]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
add dword [edi], 0x10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov ebx, dword [edi]
mov esi, dword [ebx - 0x10]
add esp, 4
push eax
call fcn.00428ef0
mov edx, dword [eax]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
add dword [edi], 0x10
mov ecx, dword [edi]
lea eax, [ecx - 0x10]
add esp, 4
cmp eax, ecx
jae 0x42015a
lea ecx, [eax - 0x10]
nop
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ecx + 0x18]
mov dword [ecx + 8], edx
add eax, 0x10
add ecx, 0x10
cmp eax, dword [edi]
jb 0x420140
add dword [edi], 0xfffffff0
jmp 0x420349
mov dword [esp + 0x30], eax
call fcn.0041f7f0
mov edi, eax
cmp edi, esi
je 0x42017b
mov eax, dword [edi + 0x10]
mov dword [eax + 0x58], 0x41f060
mov esi, dword [edi + 0x10]
push 0
xor ecx, ecx
xor eax, eax
mov ebx, edi
call fcn.0041b930
add esp, 4
mov esi, edi
call fcn.0041bc90
mov esi, dword [edi + 0x10]
push 0
mov ecx, 1
xor eax, eax
call fcn.0041b930
lea ecx, [esp + 0x3c]
add esp, 4
mov eax, str.import_preload_
push ecx
mov edx, 0x41ef40
mov ecx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0xf
call fcn.0041b8a0
add esp, 4
test eax, eax
jne 0x420ba7
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
sub eax, 0x10
mov dword [esp + 0x38], eax
sub eax, dword [edi + 0x20]
lea edx, [esp + 0x38]
push eax
push edx
push 0x41b820
xor edx, edx
mov eax, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x48], 0xffffffff
call fcn.0042efa0
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx]
add esp, 0xc
cmp edx, dword [ecx + 8]
jb 0x42021a
mov dword [ecx + 8], edx
test eax, eax
jne 0x420ba7
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx]
sub edx, dword [edi + 0x20]
lea eax, [esp + 0x38]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
push edx
mov edx, dword [edi + 0x6c]
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x7c]
push 0x42f090
mov eax, edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x88], 0x41ef40
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], 0x481abc
call fcn.0042efa0
mov esi, dword [edi + 0x10]
mov ecx, dword [esp + 0x70]
mov edx, dword [esi + 0x10]
add esp, 0xc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
push 0
push eax
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
push edx
call eax
mov ecx, dword [esp + 0x1c]
sub dword [esi + 0x44], ecx
add esp, 0x10
cmp dword [esp + 0x34], 0
jne 0x420ba7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x4202eb
push eax
mov esi, edi
call fcn.0041aef0
add esp, 4
push 0xffffd8f0
mov eax, edi
call fcn.0041eb60
add esp, 4
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x420301
mov ecx, dword [ebx]
mov dword [ecx + 8], eax
add dword [ebx], 0x10
mov edi, ebx
jmp 0x420349
push edi
call fcn.0041ef70
add esp, 4
test eax, eax
jne 0x420b22
mov ebx, dword [ebx]
sub ebx, 0x10
mov dword [esp + 0x38], ebx
sub ebx, dword [edi + 0x20]
lea edx, [esp + 0x38]
push ebx
push edx
push 0x41b820
xor edx, edx
mov eax, edi
mov dword [esp + 0x48], 1
call fcn.0042efa0
add esp, 0xc
test eax, eax
jne 0x420b1e
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
inc eax
cmp eax, 0xc350
jg 0x420360
mov ecx, ebx
call fcn.0041a980
mov eax, dword [esp + 0x14]
mov cl, byte [eax]
test cl, cl
je 0x42072d
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea ebx, [esi - 4]
add esi, 0xfffffff8
sub eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], esi
mov eax, 3
movzx ecx, cl
add ecx, 0xffffffda
cmp ecx, 0x53
ja case.0x42054d.67
movzx ecx, byte [ecx + 0x420c08]
jmp dword [ecx*4 + 0x420bcc]
fild dword [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x42070e
mov edx, dword [ebx + 4]
fild dword [ebx + 4]
add esi, 4
add ebx, 4
mov ecx, dword [edi]
mov dword [esp + 0xc], esi
test edx, edx
jns 0x4203dc
fadd qword [0x4843b8]
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x420712
mov ecx, dword [ebx + 4]
add ebx, 4
add esi, 4
mov dword [esp + 0xc], esi
test ecx, ecx
jne 0x420405
mov ecx, dword [edi]
mov dword [ecx + 8], 0
jmp 0x420712
mov edx, dword [edi]
mov dword [edx], ecx
mov dword [edx + 8], 2
jmp 0x420712
movsx edx, word [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x42070e
movzx edx, word [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x42070e
movsx edx, byte [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x42070e
movzx edx, byte [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x42070e
fild qword [esi + 8]
mov ecx, dword [edi]
add esi, 8
add ebx, 8
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x42070e
mov ecx, dword [edi]
mov edx, dword [esi + 8]
add esi, 8
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], edx
mov edx, ecx
and ecx, 0x7fffffff
add ebx, 8
mov dword [esp + 0x44], ecx
fild qword [esp + 0x40]
mov ecx, dword [esp + 0x34]
and edx, 0x80000000
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 0
fild qword [esp + 0x48]
mov dword [ecx + 8], eax
fchs
faddp st(1)
fstp qword [ecx]
jmp 0x42070e
mov ecx, dword [edi]
fld dword [ebx + 4]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x42070e
mov ecx, dword [edi]
fld qword [esi + 8]
add esi, 8
fstp qword [ecx]
add ebx, 8
mov dword [ecx + 8], eax
jmp 0x42070e
mov ecx, dword [edi]
xor edx, edx
add ebx, 4
add esi, 4
cmp dword [ebx], edx
setne dl
jmp 0x420705
mov ecx, dword [esp + 0x24]
movzx ecx, byte [ecx + edx]
inc dword [esp + 0x1c]
add ecx, 0xffffffbe
cmp ecx, 0x37
ja case.0x42054d.67
movzx edx, byte [ecx + 0x420c98]
jmp dword [edx*4 + 0x420c5c]
mov edx, dword [ebx + 4]
fild dword [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x42070e
mov edx, dword [ebx + 4]
mov edx, dword [edx]
add esi, 4
add ebx, 4
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
jmp 0x4203cc
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x10]
add dword [esp + 0xc], 4
add ebx, 4
push eax
call fcn.0041aef0
mov esi, dword [esp + 0x10]
add esp, 4
mov eax, 3
jmp case.0x42054d.67
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
add ebx, 4
add esi, 4
call fcn.0041b030
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
add ebx, 4
add esi, 4
mov dword [esp + 0xc], esi
call fcn.0041b030
mov eax, 3
jmp case.0x42054d.67
mov edx, dword [ebx + 4]
movsx edx, byte [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x42070e
mov edx, dword [ebx + 4]
movzx edx, byte [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x42070e
mov edx, dword [ebx + 4]
movsx edx, word [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x42070e
mov edx, dword [ebx + 4]
movzx edx, word [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x42070e
mov edx, dword [ebx + 4]
fild qword [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x42070e
mov ecx, dword [edi]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
add ebx, 4
mov dword [esp + 0x50], edx
mov edx, ecx
and ecx, 0x7fffffff
add esi, 4
mov dword [esp + 0x54], ecx
fild qword [esp + 0x50]
mov ecx, dword [esp + 0x34]
and edx, 0x80000000
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], 0
fild qword [esp + 0x58]
mov dword [ecx + 8], eax
fchs
faddp st(1)
fstp qword [ecx]
jmp 0x42070e
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
fld dword [edx]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x42070e
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
fld qword [edx]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x42070e
mov ecx, dword [edi]
mov edx, dword [ebx + 4]
add ebx, 4
mov dword [esp + 0x34], ecx
xor ecx, ecx
add esi, 4
cmp dword [edx], ecx
setne cl
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + 8], 1
mov dword [ecx], edx
mov dword [esp + 0xc], esi
add dword [edi], 0x10
mov edx, dword [esp + 0x14]
mov cl, byte [edx + 1]
inc edx
mov dword [esp + 0x14], edx
test cl, cl
jne 0x42038e
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
mov esi, dword [esp + 0x1c]
inc ecx
shl ecx, 4
sub eax, ecx
mov dword [esp + 0x58], eax
sub eax, dword [ebx + 0x20]
lea edx, [esp + 0x58]
push eax
push edx
push 0x41b820
xor edx, edx
mov eax, ebx
mov dword [esp + 0x68], esi
call fcn.0042efa0
add esp, 0xc
cmp esi, 0xffffffff
jne 0x420771
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi]
cmp edx, dword [ecx + 8]
jb 0x420771
mov dword [ecx + 8], edx
xor esi, esi
cmp eax, esi
je 0x4207c7
push str.RAW_CALLBACK_ERROR
mov eax, ebx
call fcn.0041c450
mov ecx, dword [esp + 0x24]
mov eax, ecx
add esp, 4
shl eax, 4
cmp ecx, esi
jl 0x4207bd
mov edx, dword [ebx + 0xc]
add edx, eax
cmp dword [edi], edx
jae 0x4207b1
lea esp, [esp]
mov edx, dword [edi]
mov dword [edx + 8], esi
add dword [edi], 0x10
mov edx, dword [ebx + 0xc]
add edx, eax
cmp dword [edi], edx
jb 0x4207a0
mov edx, dword [ebx + 0xc]
add edx, eax
mov dword [edi], edx
jmp 0x420adb
add eax, 0x10
add dword [edi], eax
jmp 0x420adb
mov eax, dword [esp + 0x1c]
mov esi, eax
dec eax
neg esi
mov dword [esp + 0x1c], eax
mov eax, esi
mov ecx, ebx
call fcn.0041a900
cmp eax, 0x480988
jne 0x4207e9
or eax, 0xffffffff
jmp 0x4207ec
mov eax, dword [eax + 8]
dec eax
je 0x420817
sub eax, 2
je 0x420807
push 0
push 1
push esi
call fcn.0041f0b0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x420855
push esi
push ebx
call fcn.0041ace0
add esp, 8
mov dword [esp + 0x28], eax
jmp 0x420855
mov eax, esi
mov ecx, ebx
call fcn.0041a900
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x42084d
cmp ecx, 1
jne 0x420831
cmp dword [eax], 0
je 0x42084d
cmp ecx, 3
jne 0x420843
fld qword [eax]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x42084d
mov dword [esp + 0x28], 1
jmp 0x420855
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x420ad7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x24], eax
mov al, byte [ecx]
mov dword [esp + 0x14], ecx
test al, al
je 0x420ad7
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffffc
neg edx
mov dword [esp + 0x1c], edx
jmp 0x420890
movzx eax, al
add eax, 0xffffffda
cmp eax, 0x53
ja case.0x4208e6.67
movzx ecx, byte [eax + 0x420ce0]
jmp dword [ecx*4 + 0x420cd0]
add ebx, 4
jmp case.0x4208e6.67
add ebx, 8
jmp case.0x4208e6.67
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, eax
inc eax
mov dword [esp + 0x1c], eax
movsx eax, byte [edx]
add eax, 0xffffffbe
mov dword [esp + 0x2c], esi
cmp eax, 0x37
ja case.0x4208e6.67
movzx eax, byte [eax + 0x420d64]
jmp dword [eax*4 + 0x420d34]
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.0041ace0
mov edx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov dword [edx], eax
jmp case.0x4208e6.67
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.0041a900
cmp dword [eax + 8], 2
jne 0x420920
mov eax, dword [eax]
jmp 0x420ab8
xor eax, eax
jmp 0x420ab8
mov ecx, dword [esp + 0x10]
mov eax, esi
add ebx, 4
call fcn.0041a900
cmp dword [eax + 8], 4
je 0x420977
mov edi, dword [esp + 0x10]
mov esi, eax
call fcn.0042b080
test eax, eax
jne 0x420952
mov edi, dword [esp + 0x18]
xor esi, esi
jmp 0x42097c
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x420968
mov eax, esi
call fcn.0042ae50
mov eax, dword [esp + 0x2c]
mov ecx, esi
call fcn.0041a900
mov edi, dword [esp + 0x18]
mov esi, dword [eax]
add esi, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
call fcn.0041ae00
push eax
mov eax, dword [ebx]
push esi
push eax
call fcn.00463880
add esp, 0xc
jmp case.0x4208e6.67
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
add ebx, 4
mov dword [esp + 0xc], ecx
call fcn.0041aba0
mov ecx, esi
call fcn.00421ff0
mov edx, dword [esp + 0xc]
push eax
push 0
push edx
call fcn.00463710
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, esi
call fcn.004229f0
add dword [edi], 0xfffffff0
jmp case.0x4208e6.67
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.0041ace0
mov ecx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov byte [ecx], al
jmp case.0x4208e6.67
mov edx, dword [esp + 0x10]
push esi
push edx
call fcn.0041ace0
mov ecx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov word [ecx], ax
jmp case.0x4208e6.67
mov ecx, dword [esp + 0x10]
push 0x481fb8
push 0x481ad4
mov eax, esi
call fcn.0041d5a0
add esp, 8
test eax, eax
je case.0x4208e6.108
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.0041ae70
mov edx, dword [eax]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 4]
add ebx, 4
mov dword [ecx], edx
mov dword [ecx + 4], eax
jmp case.0x4208e6.67
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.0041ac90
call fcn.00474eb6
mov ecx, dword [ebx + 4]
add ebx, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4208e6.67
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.0041ac90
fstp qword [esp + 0x58]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x58]
add ebx, 4
mov dword [edx], eax
jmp case.0x4208e6.67
mov ecx, dword [esp + 0x10]
mov eax, esi
call fcn.0041ac90
fstp qword [esp + 0x58]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
add ebx, 4
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp case.0x4208e6.67
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.0041ad50
add esp, 8
mov ecx, dword [ebx + 4]
add ebx, 4
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc dword [esp + 0x24]
inc eax
mov dword [esp + 0x14], eax
mov al, byte [eax]
test al, al
jne 0x420890
mov ecx, dword [esp + 0x20]
test ecx, ecx
js 0x420b7d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
shl ecx, 4
add edx, ecx
cmp dword [edi], edx
jae 0x420b15
jmp 0x420b00
mov edx, dword [edi]
mov dword [edx + 8], 0
add dword [edi], 0x10
mov edx, dword [eax + 0xc]
add edx, ecx
cmp dword [edi], edx
jb 0x420b00
mov edx, dword [eax + 0xc]
add edx, ecx
mov dword [edi], edx
jmp 0x420b8d
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx]
sub esi, 0x10
cmp dword [esi + 8], 4
je 0x420b51
call fcn.0042b080
test eax, eax
jne 0x420b3a
xor esi, esi
jmp 0x420b56
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x420b4c
mov eax, edi
call fcn.0042ae50
mov esi, dword [ebx]
sub esi, 0x10
mov esi, dword [esi]
add esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._nthread_id:_d_nthread_error:_s
call fcn.0045af65
add eax, 0x40
push eax
call fcn.0045a78e
mov edi, dword [esp + 0x28]
add esp, 0x10
jmp 0x420ae3
mov eax, dword [esp + 0x20]
shl eax, 4
add eax, 0x10
add dword [edi], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
je 0x420b99
call fcn.0041f940
mov eax, dword [esp + 0x28]
cdq
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.RAW_CALLBACK_ERROR
mov eax, edi
call fcn.0041c450
add esp, 4
mov eax, edi
call fcn.0041f940
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 8